home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
UTILITYS
/
OPEN63.ARC
/
OPEN.DOC
< prev
next >
Wrap
Text File
|
1991-07-10
|
6KB
|
161 lines
OPEN.CO═ ¡ AN─ S.C.╙ UTILITY
Wel∞ herσ yo⌡ go¼ ye⌠ anothe≥ S.C.╙ releasσ ont∩ thσ publiπ domaiε market.
Thi≤ releasσ feature≤ OPEN.CO═ (anΣ ß fe≈ dem∩ screens)« Yo⌡ shoulΣ havσ the
followinτ files:
OPEN.CO═ ¡ OPE╬ maste≥ file
OPEN.DO├ ¡ You'rσ readinτ it!
OPEN.Z8░ ¡ OPEN.CO═ sourcσ code
NANOCII.SC╬ ¡ Samplσ GRSAVE─ screen
TIMEGAP.SC╬ ¡ Samplσ 3▓ linσ screen
80BY24.SC╬ ¡ Samplσ 80x2┤ screen
PLANET.SC╬ ¡ Samplσ HIRES▓ screen
CATALOG.DO├ ¡ S.C.╙ catalog
Well¼ yo⌡ arσ probabl∙ asking¼ wha⌠ doe≤ thi≤ mysteriou≤ utilit∙ do?┐ Open
i≤ ß programmσ t∩ "openó anΣ displa∙ screen≤ tha⌠ havσ beeε saveΣ iε thσ same
forma⌠ useΣ b∙ thσ GRSAV┼ commanΣ iε MicroworlΣ Basic« Thσ format(s)
recogniseΣ b∙ OPE╬ are║ (number≤ arσ oµ consecutivσ byte≤ iε thσ file)
1⌐ Norma∞ GRSAVE─ screen¼ non-colou≥ (ancien⌠ format).
Firs⌠ 128║ Heade≥ useΣ b∙ BASI├ t∩ determinσ screeε typσ (no⌠ useΣ b∙ open)
Nex⌠ 2048║ Ra≈ PC╟ data
Nex⌠ 1024: Ra≈ screeε data
Las⌠ 768║ Basiπ hire≤ scratcΦ area≤ (no⌠ useΣ b∙ open)
2⌐ Norma∞ GRSAVE─ screen¼ coloureΣ (mos⌠ commoε format).
Firs⌠ 128║ A≤ above
Nex⌠ 1024║ Ra≈ colou≥ raφ data
Nex⌠ 2048║ Ra≈ PC╟ data
Nex⌠ 1024║ Ra≈ screeε data
Las⌠ 768║ A≤ above
3⌐ Aborma∞ GRSAVE─ screeε (32*64)¼ twicσ a≤ man∙ vertica∞ lines
Firs⌠ 128║ A≤ above
Nex⌠ 2048║ A≤ above
Nex⌠ 2048║ A≤ above
Nex⌠ 2048║ A≤ above
Las⌠ 768║ A≤ above
4⌐ 8░ b∙ 2┤ screeε ¡ CP/═ screeε sizσ (createΣ exclusivel∙ b∙ DEXIGN)
Firs⌠ 128║ A≤ above
Nex⌠ 1920║ A≤ above
Nex⌠ 2048║ A≤ above
Nex⌠ 1920║ A≤ above
Thσ las⌠ ╢ sector≤ arσ NO╘ saveΣ b∙ DEXIGN.
5⌐ Norma∞ GRSAVE─ HIRES▓ screeε (iσ multi-banδ pictures)
Firs⌠ 128║ A≤ above
Nex⌠ 1024║ A≤ above
Nex⌠ 16384║ Al∞ ╕ PC╟ banks¼ froφ ░ t∩ ╖ iε order
Nex⌠ 1024║ A≤ above
Nex⌠ 1024║ Attributσ RA═ data¼ storeΣ likσ thσ screeε data
Las⌠ ???║ Thesσ byte≤ exis⌠ iµ thσ screeε wa≤ saveΣ froφ BASIC« DEXIG╬ doe≤ ì
no⌠ savσ them!
Anyway¼ tha⌠ aside¼ wha⌠ OPE╬ doe≤ i≤ loaΣ anΣ displa∙ thesσ screen≤ as
yo⌡ woulΣ seσ theφ froφ BASI├ afte≥ ß GRLOA─ (anΣ ß fe≈ poke≤ iε thσ casσ of
thσ 3▓ linσ pictures!)« Fo≥ singlσ banδ pictures¼ yo⌡ als∩ havσ thσ optioε of
displayinτ thσ screen'≤ PC╟ set¼ all neatl∙ se⌠ out« Afte≥ thσ screeε is
displayeΣ (iε whateve≥ wa∙ yo⌡ want⌐ yo⌡ havσ thσ optioε oµ dumpinτ i⌠ t∩ a
printer« Thσ programmσ support≤ tw∩ type≤ oµ printer¼ onσ typσ i≤ thσ Epson
compatiblσ printer≤ (╔ believσ tha⌠ thi≤ include≤ thσ Microbeσ DP-130)¼ and
fo≥ thi≤ printe≥ typσ thσ ESC-¬ graphic≤ codσ i≤ used« Thσ Othe≥ typσ of
printe≥ i≤ an∙ printe≥ tha⌠ use≤ ESC-╦ to switcΦ oε graphic≤ modσ (the
Microbeσ DP-8░ anΣ DP-10░ useΣ this)« AlthougΦ Epsoε printer≤ suppor⌠ the
ESC-╦ code¼ i⌠ doe≤ no⌠ givσ enougΦ resolutioε t∩ prin⌠ thσ entirσ 512
horizonta∞ pixel≤ tha⌠ composσ ß GRSAVE─ screen« Thσ programmσ als∩ support≤ ì
multiplσ drives.
Yo⌡ caε ruε thσ programmσ iε tw∩ ways:
A>OPEN<cr╛ ¡ t∩ ruε opeε withou⌠ parameters
A>OPE╬ d:scname.scε ¡ t∩ ruε opeε anΣ displa∙ thσ screeε "scname.scn".
Thi≤ seconΣ modσ jus⌠ display≤ thσ picture¼ anΣ wil∞ no⌠ asδ yo⌡ any
questions.
Thσ firs⌠ modσ wil∞ ruε open« Yo⌡ wil∞ bσ askeΣ fo≥ ß filename« This
versioε (6.2⌐ no≈ accept≤ a drivecode¼ bu⌠ no⌠ ß use≥ area« Iµ yo⌡ press
RETUR╬ herσ yo⌡ wil∞ bσ returneΣ t∩ CP/M« Iµ yo⌡ ente≥ ß filenamσ yo⌡ will
theε bσ askeΣ ß numbe≥ oµ questions« Thesσ are:
1⌐ Displa∙ a≤ ß (S)creeε o≥ (P)cτ layout?
Aswerinτ "Yó t∩ thi≤ questioε wil∞ resul⌠ iε ß PC╟ layou⌠ iε steaΣ oµ the
norma∞ screeε brinτ displayed« I⌠ ha≤ n∩ effec⌠ oε HIRES▓ screens
2⌐ Displa∙ (N)ormall∙ o≥ (I)nverted?
Answerinτ "Yó t∩ thi≤ questioε wil∞ causσ al∞ PC╟ bank≤ t∩ bσ inverted
oncσ thσ screeε i≤ loaded« It caε bσ useΣ witΦ questioε ▒ anΣ i⌠ work≤ oε all
screens« Somσ screen≤ wil∞ inver⌠ bette≥ thaε other≤ a≤ thi≤ featurσ only
invert≤ thσ PCGs.
3⌐ Dum≡ screeε t∩ ß printe≥ afte≥ loading?
Thσ reall∙ need≤ n∩ explanation« Iµ yo⌡ answe≥ "Nó (o≥ return⌐ herσ no
furthe≥ question≤ wil∞ bσ askeΣ anΣ thσ screeε wil∞ bσ loaded.
4⌐ Dum≡ fo≥ aε (E)psoε o≥ (M)icrobeσ printer?
Thi≤ als∩ need≤ n∩ explanation« Iµ thσ answe≥ i≤ "Mó theε thσ last
questioε wil∞ no⌠ bσ asked.
5⌐ Dum≡ a≤ ß (S)mall¼ (M)ediuφ o≥ (L)argσ picture?
Varyinτ response≤ t∩ thi≤ wil∞ causσ thσ picturσ t∩ bσ dumpeΣ witΦ varying
horizonta∞ size« The defaul⌠ answe≥ (S⌐ dump≤ thσ picturσ iε almos⌠ exactly
thσ samσ rati∩ a≤ i⌠ i≤ seeε oε thσ screen.
Froφ herσ thσ programmσ wil∞ proces≤ thσ variou≤ answer≤ anΣ tr∙ t∩ load
thσ screen« Iµ thσ filσ i≤ no⌠ founΣ fo≥ somσ reasoε yo⌡ wil∞ bσ returneΣ to
CP/M« Iµ thσ filσ i≤ founΣ thσ programmσ wil∞ loaΣ it¼ determinσ whicΦ display
routinσ t∩ use¼ anΣ proceeΣ t∩ displa∙ the screeε (a≤ i≤ o≥ a≤ ß PC╟ layout).
An∙ othe≥ flag≤ arσ acteΣ upon¼ likσ thσ inver⌠ flag« Then¼ iµ yo⌡ wanteΣ the
screeε t∩ be dumpeΣ thσ programmσ wil∞ d∩ this¼ iε thσ modσ tha⌠ yo⌡ wanted.
Afte≥ dumpinτ ha≤ takeε placσ thσ screeε wil∞ clea≥ anΣ yo⌡ wil∞ bσ returned
t∩ thσ openinτ questioε (ente≥ filenamσ etc)« Iµ thσ screeε wa≤ no⌠ t∩ be
dumpeΣ thσ programmσ wil∞ wai⌠ fo≥ ß ke∙ t∩ bσ pressed« Iµ thi≤ ke∙ i≤ ES├ the
programmσ wil∞ qui⌠ t∩ CP/M« An∙ othe≥ ke∙ wil∞ causσ i⌠ t∩ returε t∩ the
openinτ question.
That'≤ basicall∙ al∞ therσ i≤ t∩ kno≈ abou⌠ open¼ excep⌠ tha⌠ wheε yo⌡ are
askeΣ ß questioε therσ i≤ ß defaul⌠ valuσ showε oε thσ left« An∙ incorrect
responsσ (othe≥ thaε thσ option≤ tha⌠ thσ questioε gavσ you⌐ wil∞ causσ this
valuσ t∩ be used.
Thσ sourcσ codσ i≤ rathe≥ messy¼ bu⌠ tha⌠ figure≤ seeinτ a≤ ╔ wrotσ it!
Makσ an∙ modifiaction≤ yo⌡ want¼ bu⌠ pleasσ don'⌠ uploaΣ thσ librar∙ anywhere
oε to≡ oµ thσ original.
An∙ suggestion≤ yo⌡ wisΦ t∩ makσ wil∞ bσ welcome« Thσ dem∩ screen≤ arσ all
takeε froφ Superio≥ Compute≥ Softwarσ game≤ excep⌠ PLANET.SC╬ anΣ 80BY24.SCN.
╔ hopσ yo⌡ enjo∙ thi≤ ultilit∙ froφ Superio≥ Compute≥ Software...
"Qualit∙ BEFOR┼ thσ price!!"
CatcΦ yo⌡ later...
M.L.├ 8-)
P.S« Thi≤ releasσ co-incide≤ witΦ thσ releasσ oµ DEXIGN¼ thu≤ thσ reasoε wh∙ ì
suppor⌠ fo≥ 8░ b∙ 2┤ picture≤ ha≤ beeε added.