C64 ASM?

Programming, for all ages and all languages.
Post Reply
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

C64 ASM?

Post by Solar »

Once upon a time... the golden times... I had a C64 (well, a C128...), and I did my first steps in Assembly on that machine.

Perhaps it's the old age, but I want to go back to my roots for some clean ASM fun. So I installed a C64 emulator (VICE).

Well... I remember there was a C64 Assembler (including editor) that was started with "SYS 49152". I think it was even named just like that. Unfortunately, many programs were started with this command, and my google-fu came up empty trying to locate this program.

Can someone help me out, pointing me to a source for this Assembler program, and possibly a C64 assembler reference to boot? (If not, I'll just google some more, but I thought perhaps there are C64 ASM coders around...)
Every good solution is obvious once you've found it.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:C64 ASM?

Post by distantvoices »

Does this help?

http://www.c64forum.de/wbb2/thread.php?threadid=4645

I've used following search keys: c64 asm sys 49152

From the rememberings of long past dusty times embroidered with a golden shine of nostalgia I get the slight feeling that this is a buildt-in thing.

Hope I could show you something useful
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:C64 ASM?

Post by Pype.Clicker »

yay. leet hardware :P too bad they're missing Giana Sisters and that you cannot upload new games through USB cable :P

btw, i too made my first steps in ASM on the C64 ... since i had no assembler, i had to use basic to POKE opcodes in some area of memory and then SYS on that location ... no need to say that i haven't been very far (probably was too yound and inexperimented in English ... it took me weeks to get what that "stack" stuff was about ... i only did GOTO/GOSUB-basic before that ^_^ )
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:C64 ASM?

Post by Candy »

You are probably getting a lot of hits because 49152 = 32768 + 16384 = 2^15 + 2^14. That seems like a very nicely aligned offset for a program.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:C64 ASM?

Post by Solar »

It's also the traditional address for C64 assembler code, as it is the beginning of the only sizeable free RAM of the C64 that isn't BASIC memory - i.e., if you have a BASIC prog that has to jump into some ASM subroutine, 49152 is the place to go.
Every good solution is obvious once you've found it.
Post Reply