mirror of
https://github.com/mach-kernel/mrbuffer.git
synced 2024-11-21 14:31:12 +00:00
rename project
This commit is contained in:
parent
f68a7a36c4
commit
f6f5b4684c
@ -1,5 +1,5 @@
|
||||
# pon-gs
|
||||
Apple IIgs simple pong game, with animation and sound. Written in 100% 658c16 assembly.
|
||||
# mrbuffer
|
||||
Apple IIgs simple lowres buffer text editor. Written in 65816 assembly. The commit history will show a different name; I had originally intended to write a pong game but found editing text a more suitable vehicle for learning the quirks of writing code for the GS.
|
||||
|
||||
## Getting Started
|
||||
|
||||
|
31
src/main.S
31
src/main.S
@ -28,6 +28,8 @@
|
||||
; show the current char on screen
|
||||
; read keyboard then hit strobe to reset
|
||||
|
||||
*row da $0400
|
||||
|
||||
ldx #0
|
||||
ldal $00C010
|
||||
|
||||
@ -52,7 +54,14 @@ keydown nop
|
||||
|
||||
up nop
|
||||
jmp rtsout
|
||||
down nop
|
||||
down clc
|
||||
cpx #1488
|
||||
beq rtsout
|
||||
pha
|
||||
txa
|
||||
adc #128
|
||||
tax
|
||||
pla
|
||||
jmp rtsout
|
||||
|
||||
left clc
|
||||
@ -68,6 +77,7 @@ right clc
|
||||
jmp rtsout
|
||||
|
||||
dispchar stal $000400,X
|
||||
inx
|
||||
jmp rtsout
|
||||
|
||||
rtsout ldal $00C010
|
||||
@ -227,6 +237,25 @@ brkboi brk
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user