Zarutian_HTC has quit [Read error: Connection reset by peer]
Zarutian_HTC has joined #forth
boru` has joined #forth
boru has quit [Disconnected by services]
boru` is now known as boru
lispmacs has joined #forth
sts-q has quit [Ping timeout: 264 seconds]
sts-q has joined #forth
lispmacs has quit [Remote host closed the connection]
dave0 has quit [Quit: dave's not here]
gravicappa has joined #forth
lispmacs has joined #forth
lispmacs has quit [Remote host closed the connection]
daddy has joined #forth
<daddy>
hi
daddy is now known as Guest7978
Guest7978 has left #forth [#forth]
gravicappa has quit [Ping timeout: 246 seconds]
lispmacs has joined #forth
<siraben>
proteusguy: Moving Forth was singularly the best article series for helping me implement it on Z80
<veltas>
^
<veltas>
I recently rewrote zenv to use HL as TOS, and to use direct threading, has shrunk code size and speeded it up
<veltas>
I saw a forth used BC as IP, I tried that too and I'm not sure it's worth it, you sacrifice too much trying to mess around with more stack arguments in crucial CODE words
<veltas>
I've got HL as TOS, SP as data stack pointer, IX as return stack pointer, and IY as instruction pointer.
<veltas>
I suppose it's alright if you save shadow registers on interrupts and then you can PUSH HL; EXX at the start of a word to get an old-fasioned register setup without breaking the IP.
Zarutian_HTC has quit [Ping timeout: 256 seconds]
Zarutian_HTC has joined #forth
<proteusguy>
siraben, yeah it got me going on the 6809 back in 86 too! Timeless stuff. ;-)
Zarutian_HTC has quit [Read error: No route to host]
Zarutian_HTC has joined #forth
<siraben>
veltas: yeah there's just enough registers on the Z80 to make a TOS reg worthwhile
gravicappa has joined #forth
gravicappa has quit [Ping timeout: 246 seconds]
<veltas>
TOS register seems to make no impact, and only save instructions, except for threading code. And it kind of makes sense, after all TOS has to get to a register at some point anyway, and HL is the most versatile 16-bit register.
<veltas>
Needless to say I'd put same emphasis on it as the author of the moving forth articles
Zarutian_HTC has quit [Read error: Connection reset by peer]
Zarutian_HTC has joined #forth
yyyyyy has joined #forth
inode has quit [Quit: ]
Zarutian_HTC has quit [Read error: Connection reset by peer]