Page 1 of 1
libultimem for cc65 (C/asm)
Posted: Tue May 18, 2021 2:50 am
by pixel
https://github.com/SvenMichaelKlose/libultimem
It was a bit of a headache, so I hope that somebody might find it useful.
Re: libultimem for cc65 (C/asm)
Posted: Tue May 18, 2021 10:35 am
by chysn
What’s Ultimem, and what does the library do with it?
Re: libultimem for cc65 (C/asm)
Posted: Tue May 18, 2021 11:18 am
by srowe
chysn wrote: ↑Tue May 18, 2021 10:35 am
What’s Ultimem, and what does the library do with it?
http://store.go4retro.com/ultimem/
Re: libultimem for cc65 (C/asm)
Posted: Tue May 18, 2021 3:12 pm
by chysn
Seems like a neat thing. I'd love to have RAM at $a000 and ROM at $6000.
Re: libultimem for cc65 (C/asm)
Posted: Tue May 18, 2021 7:41 pm
by pixel
chysn wrote: ↑Tue May 18, 2021 3:12 pm
Seems like a neat thing. I'd love to have RAM at $a000 and ROM at $6000.
This should do:
Code: Select all
*ULTIMEM_CONFIG2 = ULTIMEM_CFG_ROM << 4 | ULTIMEM_CFG_RW_RAM << 6;
VICE can emulate the UltiMem down to the metal (Cypress S29GL064N). Unix user can set it up quickly.
Code: Select all
dd bs=1024 count=8192 if=/dev/zero of=empty.img # Make empty ROM image.
xvic -ultimem empty.img -umwriteback
But I suspect it's not 100% accurate. Got things that run on VICE now but not on real hardware.
Re: libultimem for cc65 (C/asm)
Posted: Wed May 19, 2021 4:40 am
by groepaz
But I suspect it's not 100% accurate. Got things that run on VICE now but not on real hardware.
you should report them
Re: libultimem for cc65 (C/asm)
Posted: Wed May 19, 2021 10:28 pm
by pixel
groepaz wrote: ↑Wed May 19, 2021 4:40 am
But I suspect it's not 100% accurate. Got things that run on VICE now but not on real hardware.
you should report them
Was under the impression that software engineers are supposed to come up with more detailed info than "doesn't work".
Will take some elbow grease to find out like making miles with that SD card.
This lib should work tho.
Re: libultimem for cc65 (C/asm)
Posted: Thu May 20, 2021 6:11 am
by groepaz
Obviously some info detailing WHAT doesnt work would be kindof required =D
Re: libultimem for cc65 (C/asm)
Posted: Thu May 20, 2021 9:54 am
by pixel
groepaz wrote: ↑Thu May 20, 2021 6:11 am
Obviously some info detailing WHAT doesnt work would be kindof required =D
I dunno. INGLE, that wannbe VIC Windows, does not boot. In addition I got an early version of the expansion and I'm about to grab another. Does not affect this library though.
Re: libultimem for cc65 (C/asm)
Posted: Tue May 25, 2021 10:13 pm
by brain
Sorry I didn't see this earlier. It's very much appreciated!
Let me know how I can help get this working on real HW.
Jim