> an improved development tool I am now using... > Hex2Do converts an intel hex file, which contains compiled 8085 code, into > a loadable .DO file directly - makes it easy to load ASM over serial > transfer using a terminal.. no dos needed. > I use TASM32; it allows compile direct to intel HEX. > > Ex. > TEST.HEX - the intel hex file for TEST.ASM > > run > HEX2DO.EXE > at the prompt provide the name TEST<enter> > > output of the program is TEST.DO, ready to load. > note- you still need to clear himem to the necessary value. > > Included is the freebasic source so you can see how it works, and the > executable. > > This is an example output WIPE.DO - a program that wipes the ram on REXCPM. > > 1 cls:readq1:q=q1:printq:ifq<himemthenend > 2 RESTORE21:GOSUB13 > 5 a$=inkey$+chr$(1):on 2+(asc(a$)=1) goto 5,7 > 7 callq1:END > 13 READP$:printchr$(46);:e=0:FORX=1TOLEN(P$):a$=MID$(P$,X,1) > 14 if asc(a$)=47 then e=1:goto 17 > 15 if e=1 and asc(a$)= 69 then print:printq-1:return > 16 POKEQ,asc(a$)+128*(e=1):Q=Q+1:e=0 > 17 NEXTx:GOTO13 > > 20 DATA 60000 > 21 DATA "Í1Bó>/ Óà./‰&þÍ/‚ë!/€/€6€./‰&¾" > 22 DATA "Í/‚ë!/€/€6@./‰&þÍ/‚ë!/€/€~2/Ÿë¯Ó" > 23 DATA "àû!/ / Í|B>Bç:/Ÿë/ / / / g./€ÍÔ9" > 24 DATA "!/‚/ Í|B>Eç>/€2/žëO:/Ÿë¹Êþêþ/‚" > 25 DATA "Êóê:/žë/ / æ?g./ƒÍ|B>*çó>/ Óà" > 26 DATA "./‰:/žëö€gÍ/‚ë!/€/€¯w#|þ€Âæê¯" > 27 DATA "Óàû:/žë<<2/žëöêÍ)BÉ:À::À:" > 28 DATA ":¸ð:òð:4ð:°ð:1ð:¿ð77~É/€/€" > 29 DATA "/E" > >
<<attachment: hex2do.zip>>
hex2do.bas
Description: Binary data
