勉強はまだ途中です。必要になったら、します。画面捜査の勉強は、まだ
まだ続けなければならない。
#12644, #12653 の前後から派生したお話です。
続きが深くある予定はありません。
SCREENは、面倒で複雑で深いです。が、TBCのように無視しても、いちおう
試作品は作れる。
SCREEN Statement
は、使うツールによって意味が違う! という結論を得ました。
また、装着されてるディスプレイアダプタやその性能によって、想定される
機能が発揮できるかも違う。
Turbo Basic (0, 1, 2, 7, 8, 9, 10)
0 Sets text mode without changing width
1 Sets medium resolution graphics mode; changes width to 40
2 Sets high resolution graphics mode; changes width to 80
7 Sets medium resolution mode on an EGA, allowing 16 colors
and 640 X 200 pixels
8 Sets high resolution mode on an EGA, allowing 16 colors
and 640 x 200 pixels
9 Sets enhanced high resolution mode on an EGA with an
enhanced display; allows 4 or 16 colors (depending on EGA
memory) out of a palette of 64, and 640 X 350 pixels
10 Sets high resolution mode on an EGA with a monochrome
monitor; allows 4 attributes and 640 X 350 pixels
MS QuickBasic
0 MDPA, CGA, EGA, MCGA, Hercules, Olivetti, or VGA Adapter Boards
Text mode only
40 x 25,40 x 43,40 x 50, 80 x 25, 80 x 43, or 80 x 50
text format with 8 x 8 character box
size (8 x 14, 9 x 14, or 9 x 16 with EGA or VGA)
1 CGA, EGA, VGA, or MCGA Adapter Boards
320 x 200 graphics
40 x 25 text format, 8 x 8 character box
16 background colors and one of two sets of three foreground colors
assigned using
2 CGA, EGA, VGA, or MCGA Adapter Boards
640 x 200 graphics
80 x 25 text format with character box size of S x S
2 colors (black and white) with CGA
3 Hercules, Olivetti, or AT&T Adapter Boards
Hercules adapter required, monochrome monitor only
720 x 348 graphics
80 x 25 text format, 9 x 14 character box
PALETTE statement not supported
4 Hercules, Olivetti, or AT&T Adapter Boards
640 x 400 graphics
80 x 25 text format, 8 x 16 character box
N88上位互換 電脳組「BASIC/98」(まぎらわしいネーミング for DOS/V)
では、NECなら、エプソンなら、富士通なら、、、
で、「AX・DOS/V」では
0, 3 カラーグラフィック(640x480ドット, 1ページ)
1, 2 白黒グラフィック (640x480ドット, 1ページ)
ここにkonnoさん推定(推測)のSCREEN 3 がありました。
が、アプリによって違うようです。
それでも、TBCがつくる.com & .exe の出力見栄えは、N88のSCREEN 0 or 3
っぽい。あるいは、QBC でも TBでも、SCREEN 0っぽい。もちろん、
グラフィックものについては、まだぜんぜん分かりません。
で、またまた別件ですが、ロシアのパックには、たしか、Mobile Gear用の
グラフィックツールみたいなのが入ってました(もちろん試してません)。
海外でもMobile Gearって売れたのかな? たしか、もうkonnoさんのところでは、
モバギは動いてなかったという記憶でしたが。
うん、あの画面でグラフィックまで行かないかもしれないけど、ちょっと
画面をいじるベーシックをしたい。
SCREENまで必要なのか分かりませんが、あの画面で何かしようと思ったら、
最低限width(たぶん本当は高さ)その他で画面を制限しなくちゃですね。
そして、もうジャンプの連続で、思い出した。
かつて、Vzでビープを鳴らすと、モバギがハングする、という事件があり
(担当えむしさん)、高橋さんがBIOS叩いてるからだよ、直してあげる、という
顛末がありました。
モバギはMS-DOS 6.2V (English)が動いているマシン。NECが作ったDOS/V機。
そこで、標準Vzibm(j).comでビープで昇天。BIOSって、これだけ違うから、
そいつを使うと「機種依存」しちゃうアプリになってしまうのだなぁ、と昔を
思い出しながら、納得しました。
see below
--- vz.def ---
#if MG
LC- ;編集時の行間空きモードの指定
vb+ ;モバ beep の不具合を解消
#else
--------------
大晦日までやってしまった。大昔、誰かがニフティーで「3が日ぐらい
ゆっくりしたら?」と書いていた。過剰アクティブメンバーに対して。