Page 1 of 1

C64 ASM?

Posted: Wed Feb 22, 2006 1:22 am
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...)

Re:C64 ASM?

Posted: Wed Feb 22, 2006 2:22 am
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

Re:C64 ASM?

Posted: Wed Feb 22, 2006 12:30 pm
by Dex4u

Re:C64 ASM?

Posted: Wed Mar 08, 2006 8:55 am
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 ^_^ )

Re:C64 ASM?

Posted: Thu Mar 09, 2006 1:04 am
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.

Re:C64 ASM?

Posted: Thu Mar 09, 2006 1:15 am
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.