[Coco] How to generate BASIC line pointers ?

CoCoList at jensdiemer.de CoCoList at jensdiemer.de
Wed Aug 28 09:48:51 EDT 2013


I'm work on a new converter for converting Dragon WAVE files into ASCII files.
Sourcecode here:

	https://github.com/jedie/PyDragon32/tree/master/PyDC

Current implementation only convert WAV2BAS. The most code for BAS2WAV exist, 
but it's not usable, yet.

Later there will be exist the possibility to convert between:
	* WAV
	* BAS
	* CAS / ASC

One question is, how to build the line pointers? It's named "PTR_NEXT_LINE" here:
	http://dragon32.info/info/basicfmt.html

description:
"""
PTR_NEXT_LINE is the memory address of the next line (should be the byte
   after the $00 delimiter.)
"""

Anyone knows how to build the line pointer if the BASIC code only exist as 
plaintext ASCII ?
	


Next question are the "machine code starting address" and "machine code loading 
address" in the filename block, see:

	http://www.cs.unc.edu/~yakowenk/coco/text/tapeformat.html



-- 

Mfg.

Jens Diemer


----
http://www.jensdiemer.de



More information about the Coco mailing list