1
0
mirror of https://github.com/pfusik/xasm.git synced 2025-02-01 08:30:13 +00:00

X-BOOT 3.2.

This commit is contained in:
Piotr Fusik 1998-10-04 16:23:28 +02:00
parent c88b1a6165
commit 6f34469afa

View File

@ -63,7 +63,7 @@ nousg: mov ch, -1
je romsw
dec [romfl]
mov di, 81h
romsw: mov ebp, 'moc.'
romsw: mov ebp, 'XBO.'
call getfil
push si
@ -128,7 +128,7 @@ stdld: mov cx, endlen
mov [paras], di
pop di
mov ebp, 'rta.'
mov ebp, 'RTA.'
call getfil
fcreate
mov cx, [len]
@ -139,9 +139,9 @@ stdld: mov cx, endlen
dos 4c00h
; Poetry
hello db 'X-BOOT 3.1 by Fox/Taquart',eot
hello db 'X-BOOT 3.2 by Fox/Taquart',eot
usgtxt db 'Converts Atari 8-bit executable into .ATR disk image.',eol
db 'Usage: XBOOT [/p] comfile atrfile',eol
db 'Syntax: XBOOT [/p] obxfile atrfile',eol
db 'Use /p switch to write professional loader rather than standard.',eot
oktxt db 'O.K.',eot
badtxt db 'Bad format of file!',eot
@ -157,15 +157,16 @@ endseq2 db 244,4,246,4,108,224,2
endlen = $-endseq2
; Loader #2 (rom)
romlod: db 96,1,128,4,119,228,169,0,141,47,2
db 169,82,141,200,2,165,20,197,20,240,252,169
romlod db 96,1,128,4,119,228,169,0,141,47,2,169,82,141,200,2,165
db 20,197,20,240,252,169
l2runl db 128,141,224,2,169
l2runh db 4,141,225,2,160,254,169,128,141,226,2,169,4,141,227,2,162,251,149
db 72,232,134,67,76,188,4,230,68,208,2,230,69,200,16,32,238,10
db 3,208,3,238,11,3,169,255,141,1,211,78,14,212,88,32,83,228
db 56,48,170,160,0,120,140,14,212,206,1,211,185,0,4,166,67,208
db 200,129,68,165,68,197,70,208,200,165,69,197,71,208,194,152,72,32
db 253,4,104,168,16,165,108,226,2
l2runh db 4,141,225,2,160,254,169
db 128,141,226,2,169,4,141,227,2,162,251,149,72,232,134,67,76,188
db 4,230,68,208,2,230,69,200,16,32,238,10,3,208,3,238,11,3
db 169,255,141,1,211,78,14,212,88,32,83,228,56,48,170,120,160,0
db 140,14,212,206,1,211,185,0,4,166,67,208,200,129,68,165,68,197
db 70,208,200,165,69,197,71,208,194,152,72,32,253,4,104,168,16,165
db 108,226,2
; ATR Header
begin dw 296h
@ -174,16 +175,17 @@ paras dw 0
; Atari Boot Sector(s)
sect:
; Loader #1 (std)
db 96,1,128,7,119,228,160,215,185,30,7
db 145,88,200,192,226,144,246,169
db 96,1,128,7,119,228,160,215,185,30,7,145,88,200,192,226,144
db 246,169
l1runl db 128,141,224,2,169
l1runh db 7,141,225,2,169
db 7,141,5,3,160,255,140,1,211,136,169,128,141,226,2,169,7,141
db 227,2,162,251,149,72,232,134,67,76,193,7,230,68,208,2,230,69
db 200,16,16,238,10,3,208,3,238,11,3,32,83,228,56,48,174,160
db 0,185,0,7,166,67,208,216,129,68,165,68,197,70,208,216,165,69
db 197,71,208,210,152,72,32,242,7,104,168,16,181,108,226,2,44,111
db 97,100,105,110,103,14,14,14,0
l1runh db 7,141,225,2,169,7,141,5,3,160,255
db 140,1,211,136,169,128,141,226,2,169,7,141,227,2,162,251,149,72
db 232,134,67,76,193,7,230,68,208,2,230,69,200,16,16,238,10,3
db 208,3,238,11,3,32,83,228,56,48,174,160,0,185,0,7,166,67
db 208,216,129,68,165,68,197,70,208,216,165,69,197,71,208,210,152,72
db 32,242,7,104,168,16,181,108,226,2,44,111,97,100,105,110,103,14
db 14,14,0
beglen = $-begin
bufr db blen dup(?)