You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Problems with Vice+ command playback
2008-11-23
13:18
Dragnet
Registered: Nov 2006
Posts: 16
Problems with Vice+ command playback
Hola!
This is a development question regarding Vice...
It is really tiresome to start up Vice, drag'n'drop a program to it, enter the monitor, then go the correct dir to load Vice label files, enter breakpoints, if any, and THEN start debugging.
So, I'm using Vice's playback option, storing the commands in a file, but I cannot seem to get it to load label files via commands. Anybody know how to solve this?
Here's what I do: the following command file, "foo.vice", is stored in the same directory as Vice+ is installed in, and all relevant files in C:\c64\foo:
cd \
cd c64
cd foo
load "foo.prg" 0
load_labels "foo.vs"
load_labels "foo1.vs"
Then, I start Vice+, enter Alt+M, and type:
pb "foo.vice"
- and everything works fine except the loading of the labels - I get no errors! I have also tried using ll instead, but same result...
Thanks & regards
Dragnet
2008-11-23
13:58
chatGPZ
Registered: Dec 2001
Posts: 11129
<nojoopa> IIRC the label files are just "al" commands that are run through the same function as the command file is, which I guess is why it breaks. A solution is to include the labels in the command file itself.
it seems to be a bug :)
2008-11-23
16:01
Martin Piper
Registered: Nov 2007
Posts: 636
Yup, it is a bug and is one of the reasons I added automatic symbol loading from the prg filename. :)
2008-11-23
18:41
doynax
Account closed
Registered: Oct 2004
Posts: 212
Quote:
Hola!
This is a development question regarding Vice...
It is really tiresome to start up Vice, drag'n'drop a program to it, enter the monitor, then go the correct dir to load Vice label files, enter breakpoints, if any, and THEN start debugging.
So, I'm using Vice's playback option, storing the commands in a file, but I cannot seem to get it to load label files via commands. Anybody know how to solve this?
Here's what I do: the following command file, "foo.vice", is stored in the same directory as Vice+ is installed in, and all relevant files in C:\c64\foo:
cd \
cd c64
cd foo
load "foo.prg" 0
load_labels "foo.vs"
load_labels "foo1.vs"
Then, I start Vice+, enter Alt+M, and type:
pb "foo.vice"
- and everything works fine except the loading of the labels - I get no errors! I have also tried using ll instead, but same result...
Thanks & regards
Dragnet
Personally I start VICE with the executable specified on the command line, along with the -moncommands flag to automatically load a label list (plus breakpoints and whatever else you feel like stuffing into it.)
This avoids the need for recursive command files, though you can always cobble them together manually with command line tools or macro processors if necessary, and seems to work nicely enough. That is assuming you've got a batch file or editor hot-key set up for building the program and starting things off anyway.
What really needs to be automated next in VICE is the recording of replays, thereby making virtually all bugs trivially reproducible.
2008-11-23
19:08
Dragnet
Registered: Nov 2006
Posts: 16
Hola & thanks for the replies!
For me, it is not really an option to put in the labels directly in the pb file, since the label file is generated by KickAssembler (well - could hack Slammer's code of cause, that's always fun - but better not...! :) )
Seems like Doynax's proposal with the -moncommands option is the way to go - will give it a go...
I'm really amazed on the fast response people get in these forums and on this site in general - had also forgotten how much fun the C64 is, but now it's all coming back... It's so much fun to be coding on the C64 again! :)
Cheers /Dragnet
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
CSDb V2 development
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
Viti/Hokuto Force
Martin Piper
E$G/hOKUtO fOrcE
Smasher/F4CG
Guests online: 138
Top Demos
1
Next Level
(9.8)
2
Mojo
(9.7)
3
Coma Light 13
(9.7)
4
Edge of Disgrace
(9.6)
5
Comaland 100%
(9.6)
6
No Bounds
(9.6)
7
Uncensored
(9.6)
8
Wonderland XIV
(9.6)
9
Memento Mori
(9.6)
10
Bromance
(9.5)
Top onefile Demos
1
It's More Fun to Com..
(9.7)
2
Party Elk 2
(9.7)
3
Cubic Dream
(9.6)
4
Copper Booze
(9.5)
5
TRSAC, Gabber & Pebe..
(9.5)
6
Rainbow Connection
(9.5)
7
Dawnfall V1.1
(9.5)
8
Quadrants
(9.5)
9
Daah, Those Acid Pil..
(9.5)
10
Birth of a Flower
(9.5)
Top Groups
1
Nostalgia
(9.3)
2
Oxyron
(9.3)
3
Booze Design
(9.3)
4
Censor Design
(9.3)
5
Crest
(9.3)
Top NTSC-Fixers
1
Pudwerx
(10)
2
Booze
(9.7)
3
Stormbringer
(9.7)
4
Fungus
(9.6)
5
Grim Reaper
(9.3)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.037 sec.