Havent put it in my Vic yet but I have a free weekend

I have read the manual several times over tho, i know im going to have so much fun with this.
Thank you Chysn.
Moderator: Moderators
You'll have to let me know if I'm on the right track here. I was today years old when I learned that you can even have subdirectories in a Commodore file system! But this seems to work for "entering" SD2IEC subdirectories on an SD card:Bradeep wrote: ↑Sun Apr 03, 2022 8:34 am The cart supports SDIEC (obviously) but I didn't see a method to enter directories directly from the BASIC interpreter...loading one of the utilities into memory also fails for some reason; works fine without the cart. Any ideas? The Penultimate Cart has the utility built-in, do you think that would be a possibility?
Code: Select all
OPEN15,8,15,"CD/VICLAB/":CLOSE15
.F
Late late late reply, but yes, that was exactly it. Thanks, I wasn't sure how that worked, now I do.chysn wrote: ↑Sun Apr 03, 2022 8:54 am You'll have to let me know if I'm on the right track here. I was today years old when I learned that you can even have subdirectories in a Commodore file system! But this seems to work for "entering" SD2IEC subdirectories on an SD card:
Is that what you're asking about?Code: Select all
OPEN15,8,15,"CD/VICLAB/":CLOSE15 .F
IMG_5202.jpg
Make sure you have RAM in BLK5 before you soft-load the cartridge image of wAx2. If the emulation does not autostart the cartridge, use SYS64802.Bradeep wrote:Also, wAx2 doesn't seem to work with my TheC64 or TheVIC20, presumably because it's an older version of VICE running on those systems. Is there a fix for this or just one of those "too bad so sad" situations?
Unfortunately, I don't have one of those devices. As Mike suggests, it's probably a memory configuration issue rather than incompatibility. wAx doesn't do anything unusual, code-wise, and an emulator that doesn't support it would fail to run a great many things.
Code: Select all
?PEEK(40960) PEEK(43009)
76 76
Code: Select all
1 DN=PEEK(186):Z$=CHR$(0)
2 AD=40960:N$="WAX2.BIN":GOSUB5
3 SYS64802
4 :
5 OPEN2,DN,2,N$+",S,R":GET#2,A$,B$:POKEAD,ASC(A$+Z$):POKEAD+1,ASC(B$+Z$):CLOSE2
6 SYS57809(N$+",S"),DN,0:POKE782,(AD+2)/256:POKE781,AD+2-256*PEEK(782):POKE780,0
7 SYS65493:RETURN
Looks like it forked when I uploaded, but file is there now.
I attached the CRT as a cart, which doesn't work properly. "Work properly" in this case means it does not load anything into memory, and in fact it seems like the assembler is totally ignored. As previously stated, it appears that the CRT for TheC64 device is essentially just a PRG with a .CRT extension; it also requires a certain size to load for whatever reason. When I padded the file to 8192 bytes, it loaded, but dropped directly into the assembler and wouldn't load anything properly. This is because allegedly the emulator needs two bytes of padding on the front of the file as well. Hence, expanding to 8194 bytes worked, as this pads the file to the correct 8192 and leaves 2 bytes in the beginning for the emulator to attach it.
I see it! I'll pull the file from your fork and put it into my repo after work.
Postfixed to a filename, "B0B1B2B3" indicates TheXXX-VICE to add RAM to "Block 0" (i.e. RAM1..3, $0400..$0FFF), and BLK1..3 (i.e. $2000..$7FFF). Not sure about what "MV" means.chysn wrote:Does this have some special meaning to The64? MVB0B1B2B3