RE: C128 BOOT Bug?
Date: 2002-12-04 08:05:48

>> Any suggestions appreciated. The only thought I had was that the code
>> to be in the Track1 Sector0 format to BOOT on all machines.

>That's the way I've done it, and my flat 128 (the machine I was using at
>the time) seemed to work fine with it.

Thanks some generic boot sector code at the end of this email, but as I
actually want the whole program to exist in the $0b00 location, how do I
make the C128 not go searching for a file on disk?

- Nick


     $00 - CBM              ;signature
     $03 - $00,$10,$00,$01  ;other BOOT sector
                                            :starts at $1000, Bank 0
                                            :one block in size 
     $07 - NAME,$00         ;message "NAME",delimiter 
     $0c - PROGRAM,$00      ;filename,delimiter  
     $24 - $a2,$2b          ;ldx #$2b       :set pointer to start of  
     $26 - $a0,$0b          ;ldy #$0b       :line of Basic ($0b2b) and 
     $28 - $4c,$a5,$af      ;jmp $afa5      :Jump to routine at $afa5 
     $2b - RUN"PROGRAM"     ;line of Basic data  
     $36 - $00              ;zero byte delimiter


The contents of this email (including any attachments) may be
privileged and confidential. Any unauthorised use of the contents
is expressly prohibited. If you have received this email in error,
please advise us immediately (you can contact us by telephone
on +61 8 9441 2311 by reverse charge) and then permanently
delete this email together with any attachments. We appreciate
your co-operation.

Whilst Orbital endeavours to take reasonable care to ensure
that this email and any attachments are free from viruses or other
defects, Orbital does not represent or warrant that such is explicitly
the case

(C) 2000: Orbital Engine Company (Australia) PTY LTD and its

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.4.