Description
When launching an interpreter (e.g. BASIC.SYSTEM or BASIS.SYSTEM), in addition to populating the interpreter's $2006 with the path to the file, the Bitsy Bye / BASIS.SYSTEM convention is to set $280 to the containing path of the target, and $380 to the path to the interpreter.
Expected Behavior
I'd expect both of these paths to be ProDOS's usual ASCII (7 bit values, so high bit clear)
Actual Behavior
- The directory path in $280 appears to have the '/' character with high bit set (to $AF) but the characters with high bit clear.
- The interpreter path in $380 has high bits set for all characters.
Steps to Reproduce
- Boot ProDOS 2.4.2
- Launch a BASIC file
- Break into the monitor (or use an emulator's debugger) and inspect $280 / $380
Context
I'm not aware of any code that uses $280 / $380, but if this convention is going to be established then it should be well defined. I've updated A2DeskTop to populate $380 when invoking an interpreter, and I'm leaving it with high bits clear.
NOTE: Edited to correct: Bitsy populates the path at $280 to the full containing path of the target (e.g. "/VOL/DIR") not just the volume.
Description
When launching an interpreter (e.g. BASIC.SYSTEM or BASIS.SYSTEM), in addition to populating the interpreter's $2006 with the path to the file, the Bitsy Bye / BASIS.SYSTEM convention is to set $280 to the containing path of the target, and $380 to the path to the interpreter.
Expected Behavior
I'd expect both of these paths to be ProDOS's usual ASCII (7 bit values, so high bit clear)
Actual Behavior
Steps to Reproduce
Context
I'm not aware of any code that uses $280 / $380, but if this convention is going to be established then it should be well defined. I've updated A2DeskTop to populate $380 when invoking an interpreter, and I'm leaving it with high bits clear.
NOTE: Edited to correct: Bitsy populates the path at $280 to the full containing path of the target (e.g. "/VOL/DIR") not just the volume.