MAC/65 Assembler Editor and Atari 8-bit Machine Language Programming - Part 7 (redux)
ฝัง
- เผยแพร่เมื่อ 18 ก.ย. 2024
- The 8th in a series of videos in programming in Assembly Language for the Atari 8-bit computers using the MAC/65 Assembler Editor cartridge.
This video covers:
Finish up discussing the joystick demo program including last logical operators BIT, EOR and ORA. An introduction to doing Atari BASIC Graphics and SetColor commands in Assembly Language using the Atari IOCB (Input Output Control Blocks).
Code for my videos are at my GitHub at GitHub.com/Davi.... Expect a couple days lag for each videos code to be uploaded since they will be more heavily commented.
Atari Books referenced in this video and where you can download them:
MAC/65 and DDT Manual:
www.atarimania...
Mapping the Atari by Ian Chadwick:
www.atarimania...
Compute's Machine Language for Beginners by Richard Mansfield:
www.atarimania...
Compute's Second Book of Machine Language by Richard Mansfield:
www.atarimania...
Atari Roots by Mark Andrews:
www.atarimania...
SAMS Programmer's Reference Guide for the Atari 400/800 Computers:
www.atarimania...
Your Atari Computer by Poole, McNiff, and Cook:
www.atarimania...
Tom Hudson's Machine Language Boot Camp Series Analog Magazine (starting in Issue 13):
archive.org/de...
This is a redo of the video I actually deleted today. If you've already watched it, there's nothing new here (except maybe the bit about ICAX1 and ICAX2 from the Atari Technical Reference Manual). One error caught by a viewer is that at line 610 I do a LDA $0F when I want LDA #$0F. The first wrong version says load from Zero Page address $0F (not what I want) and the second correct version is load the value of 15 into the accumulator.
According to documentation, BIT supports immediate mode starting with the 65C02. I always thought it was surprising that it didn’t in the original 6502.
@@chriscription My new Atari 130XE I'm pretty sure has a 65C02 but the 800 does not. The MAC/65 documentation notes additional addressing modes for BIT for 65C02 but does not mention supporting immediate mode just absolute,X and zero page,X.
Line 610 says $0f. I think you meant #$0f. ???
Ooh thanks! Very possible. I'll correct that.
Yep, you're right. I've corrected it and will mention it at the start of the next video.