Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
lain.church
Help
Registreren
Inloggen
izaya
/
collapseos
kopie van
https://github.com/hsoft/collapseos.git
Volgen
1
Ster
1
Vork
0
Code
Kwesties
0
Publicaties
0
Wiki
Activiteit
Bladeren bron
forth: fix prompt in QUIT conditions
pull/95/head
Virgil Dupras
4 jaren geleden
bovenliggende
9791c0957d
commit
6487c713ef
1 gewijzigde bestanden
met
toevoegingen van 18
en
9 verwijderingen
Zij-aan-zij weergave
Diff Options
Show Stats
Download Patch File
Download Diff File
+18
-9
forth/forth.asm
+ 18
- 9
forth/forth.asm
Bestand weergeven
@@ -151,11 +151,6 @@ forthMain:
.cinName:
.db "C<", 0
forthLoop:
ld hl, INTERPRET
push hl
jp EXECUTE+2
BEGIN:
.dw compiledWord
.dw LIT
@@ -678,19 +673,33 @@ EXIT:
.dw EXIT
.db 0
QUIT:
.dw nativeWord
.dw compiledWord
.dw NUMBER
.dw 0
.dw FLAGS_
.dw STORE
.dw .private
.dw INTERPRET
.private:
.dw nativeWord
ld ix, RS_ADDR
jp forthLoop
jp
next
.db "ABORT"
.fill 2
.dw QUIT
.db 0
ABORT:
.dw nativeWord
.dw compiledWord
.dw .private
.dw QUIT
.private:
.dw nativeWord
; Reinitialize PS
ld sp, (INITIAL_SP)
jp QUIT+2
jp
next
abortUnderflow:
ld hl, .word
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan