home .. forth .. colorforth mail list archive ..

[colorforth] OkadWork.cf disassembled


For those of you itching to get a native-booting version of
OkadWork.cf, and haven't been able to make a disassembly that reliably
reassembles back to the boot code of OkadWork, check out
http://unternet.net/cf2/. I'm not sure I got the non-code sections all
separated out, but I've verified that the disassembly made with
Albert's cidis compiles to an identical binary (.bin vs .cfboot) using
cias. So as long as you change code in such a way as not to mess up
any offsets, by making your changes fit the same space as the original
code (check with cmp -l, as in the Makefile), you can test different
video modes and such. Thanks to Albert van der Horst for the new
release of ciasdis!

For those to whom all of this is gobbledygook: OkadWork.cf is the
latest version of ColorForth, released by Intellasys in 2008,
superceding the 2001 binary from colorforth.com and the 2005 binary
contributed by Jeff Fox. The programs "cias" and "cidis" are the
"computer intelligence" tools from Albert van der Horst, symlinks to
ciasdis. They assemble and disassemble 80x86 code in a symmetric
manner, such that what you disassemble can be reliably reassembled to
every exact bit and byte. The syntax takes some getting used to, but
is well documented in the Lina (ciforth for linux) postscript and PDF
docfiles.

If you're still lost: make some effort to see what's going on, then
reply to me or to the list with specific questions. Thanks!
-- 
John Comeau <jc@xxxxxxxxxxxx> http://jc.unternet.net/
"A place for everything, and everything
all over the place"

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com