mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-09-29 11:55:21 +00:00
Updated doc for asmPlasm - was missing LC re-enable step
This commit is contained in:
parent
c320e173cd
commit
9b1d929647
@ -481,10 +481,11 @@ auxLoader = mainLoader+3
|
|||||||
; 1. Save PLASMA's X register index to evalStk
|
; 1. Save PLASMA's X register index to evalStk
|
||||||
; 2. Verify X register is in the range 0-$10
|
; 2. Verify X register is in the range 0-$10
|
||||||
; 3. Load the *last* parameter into A=lo, Y=hi
|
; 3. Load the *last* parameter into A=lo, Y=hi
|
||||||
; 4. Run the calling routine (X still points into evalStk for add'l params if needed)
|
; 4. Write-enable Language Card bank 2
|
||||||
; 5. Restore PLASMA's X register, and advance it over the parameter(s)
|
; 5. Run the calling routine (X still points into evalStk for add'l params if needed)
|
||||||
; 6. (optional) Store A=lo/Y=hi into PLASMA return value
|
; 6. Restore PLASMA's X register, and advance it over the parameter(s)
|
||||||
; 7. Return to PLASMA
|
; 7. (optional - skipped in asmPlasmNoRet) Store A=lo/Y=hi into PLASMA return value
|
||||||
|
; 8. Return to PLASMA
|
||||||
!macro asmPlasmNoRet nArgs {
|
!macro asmPlasmNoRet nArgs {
|
||||||
ldy #nArgs
|
ldy #nArgs
|
||||||
jsr _asmPlasm
|
jsr _asmPlasm
|
||||||
|
Loading…
Reference in New Issue
Block a user