Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
base [2016/05/25 17:33] ex_writer created |
base [2016/05/26 20:08] (current) ex_writer |
||
---|---|---|---|
Line 5: | Line 5: | ||
L21E4: LD A,($4E44) ; read PLAYER X Position | L21E4: LD A,($4E44) ; read PLAYER X Position | ||
- | LD E,A | + | LD E,A ; X-Coordinate = ($4E44) [based on player input] |
LD A,$00 ; MAGIC = PLOP | LD A,$00 ; MAGIC = PLOP | ||
- | LD B,$06 | + | LD B,$06 ; Y Pattern Size = 6 bytes |
- | LD C,$03 | + | LD C,$03 ; X Pattern Size = 3 bytes |
- | LD D,$54 ; Y Coordinate = 84 | + | LD D,$54 ; Y-Coordinate = 84 |
LD HL,BASE ; point at 12x6 Player's BASE Pattern | LD HL,BASE ; point at 12x6 Player's BASE Pattern | ||
SYSTEM WRIT ; UPI WRITe with sizes provided | SYSTEM WRIT ; UPI WRITe with sizes provided | ||
Line 25: | Line 25: | ||
; [...] | ; [...] | ||
</code> | </code> | ||
+ | |||
+ | ===== Code Discussion ===== | ||
+ | |||
+ | [...] | ||
+ | |||
+ | ===== Output ===== | ||
+ | |||
+ | {{base.png}} |