libultimem for cc65 (C/asm)

You need an actual VIC.

Moderator: Moderators

Post Reply
User avatar
pixel
Vic 20 Scientist
Posts: 1357
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/
Location: Berlin, Germany
Occupation: Pan–galactic shaman

libultimem for cc65 (C/asm)

Post by pixel »

https://github.com/SvenMichaelKlose/libultimem

It was a bit of a headache, so I hope that somebody might find it useful. 8)
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
User avatar
chysn
Vic 20 Scientist
Posts: 1205
Joined: Tue Oct 22, 2019 12:36 pm
Website: http://www.beigemaze.com
Location: Michigan, USA
Occupation: Software Dev Manager

Re: libultimem for cc65 (C/asm)

Post by chysn »

What’s Ultimem, and what does the library do with it?
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5

WIP: MIDIcast BASIC extension

he/him/his
User avatar
srowe
Vic 20 Scientist
Posts: 1340
Joined: Mon Jun 16, 2014 3:19 pm

Re: libultimem for cc65 (C/asm)

Post 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/
User avatar
chysn
Vic 20 Scientist
Posts: 1205
Joined: Tue Oct 22, 2019 12:36 pm
Website: http://www.beigemaze.com
Location: Michigan, USA
Occupation: Software Dev Manager

Re: libultimem for cc65 (C/asm)

Post by chysn »

Seems like a neat thing. I'd love to have RAM at $a000 and ROM at $6000.
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5

WIP: MIDIcast BASIC extension

he/him/his
User avatar
pixel
Vic 20 Scientist
Posts: 1357
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/
Location: Berlin, Germany
Occupation: Pan–galactic shaman

Re: libultimem for cc65 (C/asm)

Post 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.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: libultimem for cc65 (C/asm)

Post 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 :)
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
pixel
Vic 20 Scientist
Posts: 1357
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/
Location: Berlin, Germany
Occupation: Pan–galactic shaman

Re: libultimem for cc65 (C/asm)

Post 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. :mrgreen: This lib should work tho.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: libultimem for cc65 (C/asm)

Post by groepaz »

Obviously some info detailing WHAT doesnt work would be kindof required =D
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
pixel
Vic 20 Scientist
Posts: 1357
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/
Location: Berlin, Germany
Occupation: Pan–galactic shaman

Re: libultimem for cc65 (C/asm)

Post 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.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
brain
Vic 20 Nerd
Posts: 538
Joined: Sun Jul 04, 2004 10:12 pm

Re: libultimem for cc65 (C/asm)

Post 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
Post Reply