[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VM02 Beta 1



John B. Matthews wrote:
In article <EYEzk.346$as4.143@nlpi069.nbdc.sbc.com>,
 David Schmenk <dschmenk@YUCH.gmail.com> wrote:

John B. Matthews wrote:
[...]
I get similar results on KEGSMAC or KEGS-OSX, which emulate a //e 80 column card (ctrl-Q -> 40-columns, ctrl-R -> 80 columns, ctrl-U -> quit, etc.) I see LDA #26 in vm02.s under VM_WARMINIT, which does clear line on the //e 80 column firmware.

I see my MACHID ($BF98) is $B3 (%10110011), suggesting a 128K //e with 80 columns and clock.

110 * (Bit 3 off) BITS 7,6-  00=II  01=II+   10=IIe   11=/// EMULATION
111 * (Bit 3 on)  BITS 7,6-  00=NA  01=NA    10=//c   11=NA
112 *             BITS 5,4-  00=NA  01=48K   10=64K   11=128K
113 *             BIT  3  -  Modifier for MACHID Bits 7,6.
114 *             BIT  2  -  RESERVED FOR FUTURE DEFINITION.
115 *             BIT  1=1-  80 Column card
116 *             BIT  0=1-  Recognizable Clock Card

I'll poke around in io.s to see if anything jumps out.
That's it. The #26 is part of the control sequence for the Videx card: Ctrl-Z 1. Then a backspace in case it shows up. Then the next control code, #21, is for the IIe/IIc 80 column card.

D'oh! Your code is correct. I was confounding the execution of Hello with the subsequent vm warm start after Hello exits.


Soon I will move that code into the IOCTL_DISABLE or IOCTL_DEACTIVATE clause of the console device driver (see the code just above in vm02.s). I don't like it cluttering up my warm init code :-)

Dave...