[Slackers] LF/CR text parsing

Steve Judd sjudd at ffd2.com
Sat Nov 11 20:54:24 CST 2006


Hey Christian,

Couple of things:

- Any time you load a program to $c000 -- whether Slang, asm, whatever --
from basic, you'll get an out of memory error.  This is because it sets
the mem pointers to the end of the load, which is above BASICs upper limit
of $9FFF.  To get around this, two common techniques are 1) write a simple
loader that runs first, or 2) use a BASIC header with a short routine to
copy it up.

- I haven't tested it, but if you put *=$c000 in the first column it will
probably be treated as a comment.  The fix is to insert a space.

- The funny characters printed out when an error occurs are cursor dn,
cursor left, ^, cursor up.  That is, on a real machine it will print an
up-arrow at roughly the point the error occured.  If xlang gets updated
again I'll see about fixing that.

- Yeah, line lengths need to be less than 256 characters

- When using the TXT command, I believe it expects a two-character hex
  value for anything following the "" quotes.  That is,

	TXT 'hey',8

  probably fails, but

	TXT 'hey',08

  will work.  Kinda lame, but there it is.

- For what it's worth, I've used both notepad and "edit" (under DOS) to
  edit xlang files.

Hope that helps!

cu,

-S



More information about the Slackers mailing list