Added 3 section headers for HGR Y to address
parent
2f9786ab6a
commit
267ae51a18
9
Home.md
9
Home.md
|
@ -44,7 +44,7 @@ C code:
|
|||
}
|
||||
```
|
||||
|
||||
6502 code:
|
||||
### 6502 code variation 1 (Original Applesoft)
|
||||
|
||||
```assembly
|
||||
GBASL EQU $26
|
||||
|
@ -83,6 +83,9 @@ F436: 85 27 STA GBASH ; 0 pppfghcd pppfghcd eabab000
|
|||
RTS
|
||||
```
|
||||
|
||||
### 6502 code variation 2 (Woz's new version)
|
||||
|
||||
|
||||
* http://www.txbobsc.com/aal/1986/aal8612.html#a9
|
||||
|
||||
Woz Re-Codes Hi-Res Address Calculations Bob Sander-Cederlof
|
||||
|
@ -130,7 +133,9 @@ Here is Woz's new version, reformatted for the S-C Assembler and with some chang
|
|||
1240 *--------------------------------
|
||||
```
|
||||
|
||||
Of course the table/array lookup is the fastest:
|
||||
### 6502 code variation 3 (lookup table)
|
||||
|
||||
Of course the table/array lookup is the fastest. Classic Space vs Speed trade-off.
|
||||
|
||||
```assembly
|
||||
y2hgrL EQU $1000
|
||||
|
|
Loading…
Reference in New Issue