1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-08-07 18:25:03 +00:00

Clean up source

This commit is contained in:
David Schmenk
2015-10-27 09:49:13 -07:00
parent 8b662b09be
commit ea1c4003e4

View File

@@ -66,7 +66,7 @@ asm fbrSwap(saveVM, restoreVM)
STA ESTK,Y STA ESTK,Y
DEY DEY
BPL - BPL -
TXA + TXA
TAY TAY
- LDA $100,Y - LDA $100,Y
STA (DST),Y STA (DST),Y
@@ -80,7 +80,6 @@ asm fbrSwap(saveVM, restoreVM)
LDX HWSP LDX HWSP
TXS TXS
LDX ESP LDX ESP
LDY IPY
RTS RTS
end end
// //
@@ -231,7 +230,7 @@ export def fbrYield
// Swap to text fiber if this isn't the only fiber RUNning // Swap to text fiber if this isn't the only fiber RUNning
// //
if fbrNext[fbrRunning] <> fbrRunning if fbrNext[fbrRunning] <> fbrRunning
prev = fbrRunning prev = fbrRunning
fbrRunning = fbrNext[fbrRunning] fbrRunning = fbrNext[fbrRunning]
return fbrSwap(fbrVMState[prev], fbrVMState[fbrRunning]) return fbrSwap(fbrVMState[prev], fbrVMState[fbrRunning])
fin fin