OK; I'll chime in:ral-clan wrote:I thought there would have been more excitement about this other than myself and Orion70. Infocom adventures on the VIC-20!
Simply amazing!
Moderator: Moderators
OK; I'll chime in:ral-clan wrote:I thought there would have been more excitement about this other than myself and Orion70. Infocom adventures on the VIC-20!
Code: Select all
0000..03ff system (lots of unused space here)
0400..0fff virtual memory, addresses 6c00..77ff
1000..11ff screen memory
1200..33ff parser code & tables
3400..7fff virtual memory, adresses 0000..4bff
a000..bfff virtual memory, adresses 4c00..6bff
That was "free before parser need another 256-byte page", so expanding screen by three lines didn't take memory away from Z-machine. Yesterday night I started working on screen configuration program, if I get it working you can use whatever screen size as long as it uses 640 bytes at max.ral-clan wrote:Jorma said something about there being 77 bytes free
So far this only V3 support is (presumably) complete. I plan to add V4/5/8 support later. V4 is almost there already. V8 is just an expansion of V5 address range so it will require no additional work once V5 works.orion70 wrote:Z-Machine Interpreter is being ported to the VIC-20!
4K internal RAM, 24K continuous expansion RAM, another 8K RAM in BLK 5, another 3K in BLK0 that is separated from the other due to the screen matrix is stored somewhere. 4+24+8+3 = 39K.ral-clan wrote:How do you come to the total of 38.25K Carlsson?
Infocom (and other Z-machine) adventures need to keep part of the game (called dynamic memory) in RAM all the time, and if that is too big to fit then game can't be played. Well, I managed to fit Nord & Bert into 32 KB PET by leaving vocabulary to disk, but that means every word parsed requires a lot of disc access.Kweepa wrote:Pretty darn cool!
Do they run off the disk? So it doesn't matter what size the game data itself is?
I expanded screen memory to three full pages, front end is complete except for fastloader and loading/saving of settings.TNT wrote:Yesterday night I started working on screen configuration program, if I get it working you can use whatever screen size as long as it uses 640 bytes at max.
Vic-20 has very close to 40K of memory with Mega-Cart.TNT wrote:Infocom (and other Z-machine) adventures need to keep part of the game (called dynamic memory) in RAM all the time, and if that is too big to fit then game can't be played. Well, I managed to fit Nord & Bert into 32 KB PET by leaving vocabulary to disk, but that means every word parsed requires a lot of disc access.Kweepa wrote:Pretty darn cool!
Do they run off the disk? So it doesn't matter what size the game data itself is?
Fully expanded VIC-20 leaves 31 KB for the virtual memory. I managed to free one more page (256 bytes) yesterday, and I hope to get rid of one more page today. After recent changes that page is used only for $verify command, ie. completely useless in normal use. I'm quite happy with yesterday's work: now aging virtual memory pages (simple LRU) works correctly, code is smaller and in practice just as fast as before.
I will try the game on my VIC-20 this weekend and maybe expand the screen memory to 768 bytes if I can fit that on my monitor. You can always use smaller screen if you want, and the game will remember your last settings.
Yes, but having as much physical memory as possible for the virtual memory makes playing faster. Also worth remembering is that while all V3 games - at least those from Infocom - have resident part smaller that what fits into VIC-20, there just may be V4/V5/V8 games which would have worked if I had used one page less.6502dude wrote:Vic-20 has very close to 40K of memory with Mega-Cart.