mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-09-07 13:54:30 +00:00
Full PEP8 compliance. Also, booleans have been inserted where they make sense (introduced in 2.3!) and I haven't knowingly added anything that will break 2.3 compatibility. At this point the code really doesn't look like it was written ten years ago. Hooray!
55 lines
687 B
Plaintext
55 lines
687 B
Plaintext
.text
|
|
.org $0800
|
|
early:
|
|
bmi +
|
|
jmp late
|
|
* bpl +
|
|
jmp late
|
|
* bvs +
|
|
jmp late
|
|
* bvc +
|
|
jmp late
|
|
* bcs +
|
|
jmp late
|
|
* bcc +
|
|
jmp late
|
|
* beq +
|
|
jmp late
|
|
* bne +
|
|
jmp late
|
|
* bpl early
|
|
bmi early
|
|
bvc early
|
|
bvs early
|
|
bcc early
|
|
bcs early
|
|
bne early
|
|
beq early
|
|
.advance $0900
|
|
late:
|
|
bpl late
|
|
bmi late
|
|
bvc late
|
|
bvs late
|
|
bcc late
|
|
bcs late
|
|
bne late
|
|
beq late
|
|
bmi +
|
|
jmp early
|
|
* bpl +
|
|
jmp early
|
|
* bvs +
|
|
jmp early
|
|
* bvc +
|
|
jmp early
|
|
* bcs +
|
|
jmp early
|
|
* bcc +
|
|
jmp early
|
|
* beq +
|
|
jmp early
|
|
* bne +
|
|
jmp early
|
|
*
|