View Single Post
Old 23 September 2019, 21:05   #11
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,474
Load and assemble the source.

Then:
WS
RAM PRT>BB
DISK PTR>0
LENGTH>2
CC

What did you do in practice:
WS -> write assembled code to disk
starting from routine at BB (DC.B 'DOS',0 etc.)
at disk sector 0 (where bootblock reside)
length 2 (self explanatory )
CC -> calculate checksum (fill the second long -> DC.L 0 with the right value)
[if you wonder what the third longword DC.L $370 is, is the disk rootblock, sector 880]

Now if you boot the disk code start from offset $c, the START label.

Enjoy!
ross is offline  
 
Page generated in 0.04321 seconds with 11 queries