Live data from Hacker News

Ask HN: Books to learn 6502 ASM and the Apple II

news.ycombinator.com

11–20 of 71 posts

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#11
Machine Language for Beginners, Charles Mansfield https://archive.org/details/ataribooks-machine-language-for-...

This book specifically targets beginners that are new to 6502 assembly. The examples cover all of the 1980s-era computers including the Apple II. It's free on archive.org and the introductory chapters are worth reading.

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#12
post #8

The answer would depend on what programming experience you have? Do you have any assembly language experience ? with other targets? ie have you used an assembler ( and maybe linker ) before. Are you familiar with hex? bytes, bits etc , You will learn this and much more ... Id look for a book that targets Assembly programming on a Apple 2, ie not a book on general 6502 programming. Such a book Id expect to discuss thi…

I have litteraly no programming experience, that's partly why I want to learn 6502 Assembly.

Much easier to start with BASIC. After all, why not?

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#13
post #12
post #8

Earlier quoted context omitted.

I have litteraly no programming experience, that's partly why I want to learn 6502 Assembly.

Much easier to start with BASIC. After all, why not?

I respectfully disagree, BASIC/Java/Arduino hides too much about how the CPU works from users.

Getting a 6502 kit from Ben Eater, and walking though how the CPU works will implicitly show how languages abstracted away whats actually happening. And more importantly, the skills necessary to understand how to write efficient programs.

https://www.youtube.com/watch?v=LnzuMJLZRdU&list=PLowKtXNTBy...

https://eater.net/6502

Starting with a simple architecture is highly recommended. =3

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#14

For Apple-II specific info, consider The Assembly Lines book -- https://archive.org/details/AssemblyLinesCompleteWagner Understanding the Apple IIe -- https://archive.org/details/understandingapp0000sath Understanding the Apple II -- https://archive.org/details/understanding_the_apple_ii

Assembly Lines is the one I came to recommend. Great book to sit down with and work your way through.

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#15

I'm seconding the recommendation to look at Rodnay Zack's books. For example, I really enjoyed Advanced 6502 Programming. It's a project-based tutorial for a custom 6502 machine. The design and schematics are in the book. https://archive.org/details/Advanced_6502_Programming/mode/2...

Seconded. I bought the first edition of "Programming the 6502" way back in the neolithic, and I enjoyed it greatly. I even read parts of it again now and then these days too, just because I like it. I used to write assembly on, at first, the AIM-65, and later the Apple II.

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#16
post #12

Earlier quoted context omitted.

Much easier to start with BASIC. After all, why not?

I respectfully disagree, BASIC/Java/Arduino hides too much about how the CPU works from users. Getting a 6502 kit from Ben Eater, and walking though how the CPU works will implicitly show how languages abstracted away whats actually happening. And more importantly, the skills necessary to understand how to write efficient programs. https://www.youtube.com/watch?v=LnzuMJLZRdU&list=PLowKtXNTBy... https://eater.net/6502…

Starting with the 6502 is going to bring you up hard against its addressing modes. Better IMHO to learn about memory and how to access it using arrays in BASIC first.

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#18
post #15

I'm seconding the recommendation to look at Rodnay Zack's books. For example, I really enjoyed Advanced 6502 Programming. It's a project-based tutorial for a custom 6502 machine. The design and schematics are in the book. https://archive.org/details/Advanced_6502_Programming/mode/2...

Seconded. I bought the first edition of "Programming the 6502" way back in the neolithic, and I enjoyed it greatly. I even read parts of it again now and then these days too, just because I like it. I used to write assembly on, at first, the AIM-65, and later the Apple II.

Is Programming the 6502 enough to learn Assembly on the Apple II ? But it doesn't explain the memory and screen management, right ? So how can we learn that ?

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#19
post #9

This is the book I used when I was writing serial drivers for Apple II ProDOS: https://archive.org/details/6502_Assembly_Language_Programmi... And I have a vague memory of this book: https://archive.org/details/aiimp/mode/2up Not sure what level you're at, but I can't remember if this is the text Jef Raskin wrote, but it's a decent backgrounder: https://archive.org/details/aiirm/mode/2up

I don't have any programming experience.

Google can be very helpful for these types of queries:

https://www.google.com/search?q=apple+2+game+programming+tut...

Formulating questions is a valuable skill as is finding existing resources.

As some one from that era, it is truly amazing how much information there is online about all aspects of 8 bit computers

Re: Ask HN: Books to learn 6502 ASM and the Apple II

#20
post #19
post #9

Earlier quoted context omitted.

I don't have any programming experience.

Google can be very helpful for these types of queries: https://www.google.com/search?q=apple+2+game+programming+tut... Formulating questions is a valuable skill as is finding existing resources. As some one from that era, it is truly amazing how much information there is online about all aspects of 8 bit computers

I don't think online tutorials are a good ressources to learn programming. We just have to look at what juniors can do nowadays (they can't even write a simple program, and I'm from that generation). That's why I asked for books.
Post reply on HN