From 38d5a9f30364ecb836a014f60e3593d8914006c2 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sun, 14 Jun 2020 10:05:34 -0400 Subject: [PATCH] z80: inline cellWord in stable ABI --- blk/283 | 4 ++-- blk/303 | 16 ---------------- emul/forth.bin | Bin 6194 -> 6190 bytes 3 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 blk/303 diff --git a/blk/283 b/blk/283 index b23332b..b00a9a2 100644 --- a/blk/283 +++ b/blk/283 @@ -1,7 +1,8 @@ H@ ORG ! 0 JPnn, ( 00, main ) 0 JPnn, ( 03, find ) NOP, NOP, ( 06, unused ) NOP, NOP, ( 08, LATEST ) -NOP, ( 0a, unused ) 0 JPnn, ( 0b, cellWord ) +NOP, ( 0a, unused ) +( 0b cellWord, push PFA ) DE PUSHqq, JR, 0x0c A, ( next ) 0 JPnn, ( 0e, compiledWord ) 0 JPnn, ( 11, pushRS ) 0 JPnn, ( 14, popRS ) EXDEHL, JP(HL), NOP, ( 17, nativeWord ) @@ -13,4 +14,3 @@ NOP, NOP, ( 24, addrWord ) NOP, NOP, ( 26, unused ) 0 JPnn, ( RST 30 ) 0 JPnn, ( 33, execute ) NOP, NOP, ( unused ) 0 JPnn, ( RST 38 ) - diff --git a/blk/303 b/blk/303 deleted file mode 100644 index 3dbd4ca..0000000 --- a/blk/303 +++ /dev/null @@ -1,16 +0,0 @@ -PC ORG @ 0x0c + ! ( cellWord ) -( Pushes PFA directly ) - DE PUSHqq, - JPNEXT, - - - - - - - - - - - - diff --git a/emul/forth.bin b/emul/forth.bin index eca4d9607b12a5ae65f0a8102825324b1acd9baa..7d6cb269b339d12b938c73197ec8856e9cbff45d 100644 GIT binary patch literal 6190 zcma)AYjBfic7DH$BwMy6`GRd?hkTL^mJwELZ>A)vuw}_I(IQJ;Np`plG3H`IAvR+m z$C9TlLWE}&{pca(qx&^$3$fyyfd4J0(1d!|}cE-ojv z8A+wGZQm@-c*T-;{FcwWwYo_7^jq^@Q@dn{sc(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