Star Micronics ZA-250 Printer User Manual


 
MostBASICS,however,arenotquitethatstraightfonvmd.Forexample,the
IBM-PCwillgiveyou aprintoutsimilarto Figtue5-6.
(:1(:> (:)1. (:,;? (c’:! (:,4 ‘:!:, {:”6 1:,7
FigtwvS4LSamplehexadecimaldumpwithIBM-PC.
WhentheIBM-PCBASICinterpretersendshexcodeOD(carriagereturn)
itaddsanextrahexOA(linefeed).HexcodeIA(end-of-file)alsogetsspecial
matment: theinteqxeterdoesnotsenditatall.l’hiscancaus epmblemswith
gra@icsor dotioad characterdata.However,youcansolvethisproblem
bychangingline30inthepnxxdingprogramandaddingthecodingshown
below.
Codingfor IBM-PCwithmonochromedisplay:
30
G05UB 100
100 X=1 NP (& H3813)
:
IF X<128 THEN 100
110
OUT &H3BC , I
: OUT &H3BE ,5 : OUT &H3BE ,4
120 RETURN
Cading
forIBM-PCwithcoloradapter
30
t30SUB 100
100
X=INP (& H379)
:
IF X<128 THEN 100
110 OUT &H378, I
: OUT &H37A. 5 : OUT &H37A ,4
120 RETURN