Re:Easy 6502 – How to get started writing 6502 assembly lang...
by 67726e on Thursday January 05, 2017 @09:40AM
(#13327389)
> Imagine learning a new language, platform, with no Google or StackOverflow.
To be fair, 6502 is a small, simple language. I learned 6502 back when I was 11-12 with little more than some .txt files, a lot of time, and a question or two answered by some very RTFM type folks. That one was not too hard overall, despite being my first language. I'd never ask someone to learn some new fancy language and framework without the internet, however.
Re:Easy 6502 – How to get started writing 6502 assembly lang...
by KSS42 on Thursday January 05, 2017 @10:34AM
(#13327899)
All things considered, there were a lot of resources out there but you had to do some leg work. I subscribed to Compute! There were also a fair number of machine language programming books by the likes of Richard Mansfield and Jim Butterfield.
(Maybe it helped that I was in Toronto and there was a lot interest in Commodore computers)
Re:Easy 6502 – How to get started writing 6502 assembly lang...
by orionblastar on Friday January 06, 2017 @11:59AM
(#13337901)
My mother had a friend who just had her daughter die. I volunteered to help her clean up her house. I had a Commodore 64 and was learning how to program on it. She was going to throw away the Compute and Compute Gazette magazines, but I asked if I could have them instead. Changed my life reading them and learning how the games worked and changing them. Using joystick routines to make a menu in Basic to load programs off the floppy disk and execute the address for the sys command in the menu so the user doesn't have to do it.
It was so long ago I've forgotten most of it.
Re:Easy 6502 – How to get started writing 6502 assembly lang...
by randomguy23 on Thursday January 05, 2017 @11:13AM
(#13328295)
Man that brings back the memories: I had a Vic-20 and had learned how (through magazines) to program in BASIC. I had the Vic-20 manual, and for some reason could not conceptualize the link between assembly language and the op-codes. I remember the day I saw a BASIC program that poked the assembly op codes into RAM for a simple keyboard - WOW! suddenly the light went on in my head. Good times.
Re:Easy 6502 – How to get started writing 6502 assembly lang...
by placebo on Thursday January 05, 2017 @11:15AM
(#13328306)
I remember those days :-) Back then after getting tired of typing raw instructions I wrote a very primitive assembler in basic (starting with 3.5K and counting down, it had to be primitive if I wanted any space left to run the generated machine code...)
Re:Easy 6502 – How to get started writing 6502 assembly lang...
by lakkal on Thursday January 05, 2017 @10:35AM
(#13327909)
My resource for learning 6502 machine language was the Apple ][ Reference Manual:
http://www.classiccmp.org/cini/pdf/Apple/Apple%20II%20Refere...
which had appendices that covered the instruction set and opcodes, useful addresses, ROM listings, and all other kinds of useful stuff. What a great manual that was!
I learned it at 14 years old after finding out basic wasn't very good for coding graphics. Back then the speed improvement for 6502 was always amazing because there were not high quality C compilers (actually no compilers)
Imagine learning a new language, platform, with no Google or StackOverflow. It didn't seem like a big deal at the time but wow that must have been inefficient.
My bible for 6502 was this book that I think every cmdr programmer had:
http://www.ubbcentral.com/store/item/VIC-20-Programmers-Refe...
Of course there was no assembler, it was just typing in raw instructions and addresses. Anyone else used to leave NOP gaps to make adding instructions easier?