Well, tried that and no go.
Setting P - which I thought would immediately set the program counter
causing the machine to start executing at the specified address, does
not work that way. Once I set P, the monitor is still running and I can
view it and see my new address in it - but it is obviously running the
monitor, not my program. I also tried 'G' - hoping maybe it was an
interrupt issue - but that hangs the system.
In the off chance that 'G' really works and I have a bug in the few
bytes needed to say 'hello world' - I'm posting my test code for
inspection...
-J
*----------------------------------------------------------
* 6809 Hello World
*
* test program for SWTPC 6809 machine
*
*----------------------------------------------------------
*----------------------------------------------------------
* STANDARD SBUG-E EQUATES
*----------------------------------------------------------
MONITOR EQU $F800 *RETURNS CONTROL TO MONITOR
INCH EQU $F804 *CHAR INPUT
INCHE EQU $F806 *CHAR INPUT AND ECHO
OUTCH EQU $F80A *CHAR OUTPUT
PDATA EQU $F80C *OUTPUT STRING TERMINATED BY $04
PSTRNG EQU $F810 *LIKE PDATA WITH CRLF PREFIX
PCRLF EQU $F80E *OUTPUT CR,LF,NUL,NUL,NUL
*----------------------------------------------------------
org $0100
*--------------------------------------
* Sample routine to print a string
*--------------------------------------
sayhi ldx #text
jsr PSTRNG
jmp MONITOR
text fcc /Hello World!/
fcb $04
*---------------------------------
* end
*---------------------------------