Code:
Code: Select all
A2 0A CA D0 FD 60
Code: Select all
A2 0A CA D0 FD 60
Code: Select all
A2 0A CA D0 FD 60
Code: Select all
S0030000FC // Header record with vendor specific information -- there is 0 bytes of that here
S1090200A20ACAD0FD6054FD // Your program, loaded at 0x0200. Repeat these as necessary
S5030001FB // How many S1 records were there.
S9030200FA // What address does the program start at (0x0200)
Code: Select all
:01030000A20AF4
:0103020000CA32
:01030300D0FD2F
:01030500006049
:00000001FFCode: Select all
:02030000A20A4F
:02030200CAD05F
:02030400FD609A
:00000001FFCode: Select all
LDX #$0A
DEX
BNE labelCode: Select all
FOR_X 10, DOWN_TO, 0
NEXT_XCode: Select all
:06030000A20ACAD0FD6054
:00000001FFCode: Select all
$ echo A2 0A CA D0 FD 60 | xxd -p -r - | srec_cat - -binary -offset 0x0300 -o - -intel -esa 0x0300
:020000040000FA
:06030000A20ACAD0FD6054
:0400000500000300F4
:00000001FFCode: Select all
$ echo A2 0A CA D0 FD 60 | xxd -p -r - | srec_cat - -binary -offset 0x0300 -o - -esa 0x0300
S0220000687474703A2F2F737265636F72642E736F75726365666F7267652E6E65742F1D
S1090300A20ACAD0FD6050
S5030001FB
S9030300F9