| |
Compyx
Registered: Jan 2005 Posts: 631 |
VICE: attach disk image and run .prg file from OS filesystem
With VICE (2.4.27 on Linux), I'm trying to figure out how to attach a D64 image to drive 8 (with TDE) while running a .prg file from my OS file system.
I've tried a wide variety of command line options, but I either get a message about extra arguments on the command line, or VICE tries to load the .prg file from the attached disk image, which obviously fails as well.
Does anyone know how to do this? I'm trying to keep my assemble-run-debug cycle as fast as possible.
/Compyx |
|
| |
Burglar
Registered: Dec 2004 Posts: 1101 |
why not inject that prg into the d64 as well? |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
That was my next option. I think c1541 is fast enough for that. I was just curious why VICE doesn't seem to allow this. I've looked through all the command line options (thank fuck for `less`), but no luck so far.
I'm probably trying to do something backwards, as usual ;) |
| |
iAN CooG
Registered: May 2002 Posts: 3193 |
Because when you're loading a prg from host filesystem Vice is already faking a virtual device 8 (prg will turn virtual device traps on and true drive emulation off), and you can't have both a virtual and "real" device 8 at the same time.
You can simply build your d64 with the needed files prior to launching vice. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
I just did, and that works fine. Although VICE seems to have the `autostart-handle-tde` options backwards:
-autostart-handle-tde
Handle True Drive Emulation on autostart
+autostart-handle-tde
Do not handle True Drive Emulation on autostart
When I use `+autostart-handle-tde` VICE uses TDE to load my file, which takes quite a while for a 202 blocks file (even with warp). When I use `-autostart-handle-tde`, TDE is skipped and my file is loaded pretty much immediately.
Normally VICE uses +<option> to invert that option's behaviour, or am I slowly going insane? ;) |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
the + - owls are not always what they seem |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Indeed. Well, at least I got the stuff working the way I wanted.
Can't find any weird stuff in the VICE sources when it comes to handling those autostart settings after a quick glance. Seems to behave the way the docs state, just not when actually running VICE. |
| |
markus sinalco Account closed
Registered: Sep 2005 Posts: 112 |
btw, is there any ".d64 Editor" for linux based systems ?. |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Not that I'm aware of.
I'm working on one, already got most of the backend working (C library that handles D64, D71, D81, T64, ARK, ZipCode and a few other images/containers). Just need to decide on a GUI toolkit for the frontend, I'm probably stuck with Gtk3 since Qt needs C++, and I really don't like C++.
You could always use c1541 which comes with VICE, but that's of limited use if you want to do BAM manipulation or dir art. |
| |
Flavioweb
Registered: Nov 2011 Posts: 463 |
Quoting markus sinalcobtw, is there any ".d64 Editor" for linux based systems ?.
If you mean a tool to create .d64, CC1541 works as well:
http://csdb.dk/release/?id=69964&show=goof#goof
Take a look at the goofs! |
| |
Hypnosis
Registered: Mar 2015 Posts: 36 |
Quote: btw, is there any ".d64 Editor" for linux based systems ?.
DirMaster works in Wine. |
... 56 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - Next |