1.1 --- a/switcher.oph Sun Aug 16 22:38:18 2015 +0200
1.2 +++ b/switcher.oph Mon Aug 17 01:03:14 2015 +0200
1.3 @@ -96,7 +96,6 @@
1.4 ; return here with the initial main program stack
1.5
1.6 main_end:
1.7 - jsr restore_handler
1.8 rts
1.9
1.10
1.11 @@ -200,7 +199,7 @@
1.12 ldy #7 ; offset of MSB (_, _, Y, X, A, F, LSB, MSB)
1.13 * .invoke mov8_refs SP, CURRENT
1.14 dey
1.15 - cpy #2
1.16 + cpy #1
1.17 bpl -
1.18
1.19 handler_load_task:
1.20 @@ -262,7 +261,7 @@
1.21 ldy #7 ; offset of MSB (_, _, Y, X, A, F, LSB, MSB)
1.22 * .invoke mov8_refs NEXT, SP
1.23 dey
1.24 - cpy #2
1.25 + cpy #1
1.26 bpl -
1.27
1.28 ; set the user stack for the task