dos33fsprogs/pt3_player
2019-05-15 11:55:43 -04:00
..
docs pt3: some documentation 2019-05-14 08:55:45 -04:00
dump.bas pt3: add early-pattern end code 2019-05-14 11:52:50 -04:00
EA.PT3
empty.dsk
gr_fast_clear.s pt3: start implementing things 2019-05-07 00:28:42 -04:00
HELLO pt3: start implementing things 2019-05-07 00:28:42 -04:00
hello.bas pt3: update dumper to print to printer 2019-05-13 16:18:26 -04:00
interrupt_handler.s pt3: have player calculate total time 2019-05-14 14:25:13 -04:00
Makefile pt3: add a timer module for tracking overhead 2019-05-15 11:55:43 -04:00
mockingboard_a.s pt3: add a timer module for tracking overhead 2019-05-15 11:55:43 -04:00
pt3_dumper.s pt3: add early-pattern end code 2019-05-14 11:52:50 -04:00
pt3_lib.s pt3: get early-ending of patterns working 2019-05-14 12:27:06 -04:00
pt3_player.dsk pt3: add a disk image, why not 2019-05-14 14:25:41 -04:00
pt3_player.s pt3: add a timer module for tracking overhead 2019-05-15 11:55:43 -04:00
pt3_timer.s pt3: add a timer module for tracking overhead 2019-05-15 11:55:43 -04:00
qkumba_rts.s pt3: start implementing things 2019-05-07 00:28:42 -04:00
README.pt3_player pt3: add a timer module for tracking overhead 2019-05-15 11:55:43 -04:00
song_list.inc pt3: add early-pattern end code 2019-05-14 11:52:50 -04:00
SR.PT3 pt3: oops last commit stuck the speed check in slightly wrong place 2019-05-14 11:15:12 -04:00
text_print.s
TODO pt3: start implementing things 2019-05-07 00:28:42 -04:00
VC.PT3 pt3: forgot to load default song speed from header 2019-05-14 10:45:55 -04:00
zp.inc pt3: add early-pattern end code 2019-05-14 11:52:50 -04:00

PT3_player



ASR = CMP #$80 / ROR



Notes:

signed 8-bit comparison
see http://6502.org/tutorials/compare_beyond.html#2.2

          SEC       ; prepare carry for SBC
          SBC NUM   ; A-NUM
          BVC LABEL ; if V is 0, N eor V = N, otherwise N eor V = N eor 1
          EOR #$80  ; A = A eor $80, and N = N eor 1
    LABEL

If the N flag is 1, then A (signed) < NUM (signed) and BMI will branch
If the N flag is 0, then A (signed) >= NUM (signed) and BPL will branch