#: 14320 S12/OS9/68000 (OSK)
14-Feb-92 01:01:41
Sb: #14311-#handshaking on /t3
Fm: Kevin Darling 76703,4227
To: Mark Griffith 76070,41 (X)
Ummm, the 09=up was in there because of the people who originally wanted
(and had specified at first) "CoCo compatibility".
As for write() vs writeln()... learn some more. Writeln doesn't always mean
"write until carriage return". It means "write with possible editing"...
eg: change tabs to spaces for terminals which don't support tabs and/or if
you want tabs to be a different spacing than what the terminal default is.
Writeln works just like write if you specify fewer characters and turn off
certain path options. RTM.
Here's a program which should take any windio version and kill the 09=up code.
Load it into basic, pack it, then chd to your boot module directory and
make a copy of your old windio. Now call the program using the name of
the windio file to modify, like "nulltab windio"... then make a new boot.
Enjoy!
PROCEDURE nulltab
DIM f,filepos:INTEGER
DIM b,bmi(2),nop(2):BYTE
filepos=0 \ nop(1)=$4e\ nop(2)=$71
PARAM name$
OPEN #f,name$
LOOP
GET #f,bmi
filepos=filepos+2
IF bmi(1)=$6b AND bmi(2)=$04 THEN
GET #f,bmi
IF bmi(1)=$33 AND bmi(2)=$40 THEN
PRINT USING "h4",filepos
GOTO 100
ENDIF
filepos=filepos+2
ENDIF
ENDLOOP
END
100 REM Replace 09 code with nop's
SEEK #f,filepos
PUT #f,nop
PUT #f,nop
CLOSE #f
SHELL "fixmod -u "+name$
END
There are 2 Replies.
|