mirror of
https://github.com/Michaelangel007/apple2_hgr_font_tutorial.git
synced 2024-11-22 03:30:50 +00:00
Start cleanup 4 byte address disassembly
This commit is contained in:
parent
3066eadaf2
commit
329867e140
29
README.md
29
README.md
@ -1156,11 +1156,11 @@ To select which row to draw at we'll pass that in the X register to our DrawChar
|
|||||||
; PARAM: Y = column to draw at; $0 .. $27 (Columns 0 .. 39) (not modified)
|
; PARAM: Y = column to draw at; $0 .. $27 (Columns 0 .. 39) (not modified)
|
||||||
; PARAM: X = row to draw at; $0 .. $17 (Rows 0 .. 23) (destroyed)
|
; PARAM: X = row to draw at; $0 .. $17 (Rows 0 .. 23) (destroyed)
|
||||||
ORG $0320
|
ORG $0320
|
||||||
320: DrawCharColRow
|
0320: DrawCharColRow
|
||||||
320:48 PHA
|
0320:48 PHA
|
||||||
321:20 28 03 JSR SetCursorRow
|
0321:20 28 03 JSR SetCursorRow
|
||||||
324:68 PLA
|
0324:68 PLA
|
||||||
325:4C 3B 03 JMP DrawCharCol
|
0325:4C 3B 03 JMP DrawCharCol
|
||||||
|
|
||||||
; FUNC: SetCursorRow( row )
|
; FUNC: SetCursorRow( row )
|
||||||
; PARAM: X = row to draw at; $0 .. $17 (Rows 0 .. 23) (not modified)
|
; PARAM: X = row to draw at; $0 .. $17 (Rows 0 .. 23) (not modified)
|
||||||
@ -1168,15 +1168,16 @@ To select which row to draw at we'll pass that in the X register to our DrawChar
|
|||||||
; Note: Must start at every 8 scanlines.
|
; Note: Must start at every 8 scanlines.
|
||||||
; OUTPUT: $F5,$F5 working pointer to the destination screen scanline
|
; OUTPUT: $F5,$F5 working pointer to the destination screen scanline
|
||||||
ORG $0328
|
ORG $0328
|
||||||
328:BD 00 64 LDA HgrLoY,X ; HgrLoY[ row ]
|
0328: SetCursorRow
|
||||||
32B:18 CLC
|
0328:BD 00 64 LDA HgrLoY,X ; HgrLoY[ row ]
|
||||||
32C:65 E5 ADC HgrLo
|
032B:18 CLC
|
||||||
32E:85 F5 STA TmpLo
|
032C:65 E5 ADC HgrLo
|
||||||
330:BD 18 64 LDA HgrHiY,X ; HgrHiY[ row ]
|
032E:85 F5 STA TmpLo
|
||||||
333:18 CLC
|
0330:BD 18 64 LDA HgrHiY,X ; HgrHiY[ row ]
|
||||||
334:65 E6 ADC HgrHi
|
0333:18 CLC
|
||||||
336:85 F6 STA TmpHi
|
0334:65 E6 ADC HgrHi
|
||||||
338:60 RTS
|
0336:85 F6 STA TmpHi
|
||||||
|
0338:60 RTS
|
||||||
```
|
```
|
||||||
|
|
||||||
Enter in:
|
Enter in:
|
||||||
|
Loading…
Reference in New Issue
Block a user