• Please review our updated Terms and Rules here

Fun with GRiD and MS-DOS 5.0 w/ SDLPT, QBASIC, and TP7!

voidstar78

Veteran Member
Joined
May 25, 2021
Messages
915
Location
Texas
Big thanks to @0xDEADBEEF I found that I was able to boot my GRiD system to MS-DOS 5.0 (on a 720K 3.5). I just did a DISKCOPY B: B: of my original MS-DOS 5.0 boot disk (since for some reason SYS B: didn't work, so I just used Microsoft own DISKCOPY to clone the disk). Then when the GRiD system boots, mash "F" to boot from floppy disk.

Then I verified the SDDRV.SYS works when the SDLPT device is attached off the parallel port, effectively giving me a 2GB hard drive for this system (very slow access, but gives space to work with beyond a single 720KB floppy disk).

Then I verified QBASIC GORILLA.BAS example works! And I can use TPC.EXE to compile Turbo Pascal 7 PAS files (right from the SD-LPT device). The Borland Pascal 7.0 TURBO.EXE "IDE" is very slow, you can "feel" the syntax highlighting kicking in (or it's trying to cache to the file system a lot, and across LPT that's just too slow). I tried to disable all that, but their editor was still painfully slow (pretty sure this is a 4.77MHz system). So just use QBASIC.EXE editor (or EDLIN, or COPY CON if really have to), then compile with TPC from command line.

I still don't know much about the GRiD-OS stuff, but glad I can still program the system using other means.
 

Attachments

  • IMG_3748_01.JPG
    IMG_3748_01.JPG
    153.4 KB · Views: 34
  • IMG_3754_02.JPG
    IMG_3754_02.JPG
    139.5 KB · Views: 33
  • IMG_3747_03.JPG
    IMG_3747_03.JPG
    192.1 KB · Views: 34
  • IMG_3749_04.JPG
    IMG_3749_04.JPG
    90.2 KB · Views: 33
have you verified whether this is a gridcase or grid compass because it looks more like a compass to me.
in that case you probably have bubble memory storage there, which is probably accessible from gridos, not sure if it can be used under dos, and if so, probably grid ms-dos 2.11 is required? not sure if newer ones (3.2 or 3.3) have support for it?
 
have you verified whether this is a gridcase or grid compass because it looks more like a compass to me.

It clearly says "GRIDCASE" on the badge next to the molded GRID above the screen. A compass has a smaller, squarer screen, and I'm quite sure they won't boot a normal PC DOS floppy.

The yellow screen is interesting. GRiDCase-es with that case style came with a variety of screens, with the most common ones being your typical mediocre LCD or a red plasma display; there are references to a yellow EL model, but some of them imply it was only fitted to the government TEMPEST models?
 
I am not sure if GRiDcases had GPIB though, and it looks like EL screen and has lower res than 640x200 CGA, from photos it looks like Compass II 1139 had such screen.
On the other hand the back does not look like Compass photos I can find.
and Compass can boot DOS just fine, they are DOS compatible (but not fully IBM PC compatible).
Certainly it is unusual.


Hmm the back looks like the one described as "tempested system" here https://staff.salisbury.edu/~rafantini/grid_1550_and_1530.htm
You have got to open it up and take some photos ;-)
 
Last edited:
and it looks like EL screen and has lower res than 640x200 CGA, from photos it looks like Compass II 1139 had such screen.

It looks like CGA resolution to me? The specs online say the Compass II with the "wide screens" had a 512x256 panel, which would actually be higher resolution vertically. Are there more pictures of this unit in other threads, because all we can see in this one is a closeup of the screen that has a "GRIDCASE" badge over it.
 
and Compass can boot DOS just fine, they are DOS compatible (but not fully IBM PC compatible).

There are plenty of "MS-DOS" compatible computers out there that run "DOS" but can't boot an IBM PC compatible version of it. (Short list: Sanyo MBC-550, Tandy 2000, TI Professional, Zenith Z-100, HP-150, Apricot PC, DEC Rainbow... I could go on if you give me a minute.) Is a Compass really compatible enough to boot an IBM or Compatible's MS-DOS disk?

Also, again on the resolution thing: he's running GORILLAS.BAS, the demo BASIC game included with MSDOS 5.0's QBASIC interpreter. To run that game you're going to have to have CGA, EGA, or VGA compatible graphics, unless there's secret undocumented support for GRiD Compass video modes buries in qbasic... which seems unlikely to me considering it didn't even support Hercules.
 
To my knowledge, Compass can boot customized MS DOS 2.11 specially for GRiD Compass. No other MS DOS versions for Compass found so far.
 
This is a later model GRiDCASE 4 (basically a Compass II without bubble memory and no 5-pin DIN at the back). Pardon, this was a follow up to the video here. Got a bit excited to learn it could boot to regular MS-DOS 5 :) FDISK showed no fixed disk, so not sure if it actually has a hard drive or not (but not surprised, surely it would be of some non-FAT partition type and all that). Will be awhile before I ever open it. Heavy unit, might be a tempest model, not sure yet. And silent as far as I could tell, not even sure if the PSU has a fan. Ideal for submarines ^.^



Exciting to me because the Sharp PC-5000 (which does have bubble memory), I couldn't get it to boot using anything other than its own very specific MS-DOS 2.11 build (probably need its own proprietary drivers to talk to the LCD screen and funky disk drive controller). The Sharp manuals and ads were clear to always say MS-DOS 2.11. Plus, do these GRiD literally use an 8086 instead of an 8088? I was never sure how MS-DOS compatible that was.
 
Last edited:
Plus, do these GRiD literally use an 8086 instead of an 8088? I was never sure how MS-DOS compatible that was.

There are some hardware gotchas you need to take into account (mostly regarding I/O port addressing) if you’re building a PC compatible around an 8086 instead of an 8088, but assuming you do that right there’s no problem. IBM themselves used the 8086 in the PS/2 model 25 and 30.

(If you were building a “generic MS-DOS” computer instead of a strict PC compatible then those gotchas I mentioned don’t matter, do whatever you want and write your BIOS appropriately.)
 
This is a later model GRiDCASE 4 (basically a Compass II without bubble memory and no 5-pin DIN at the back).

Well... Visually - yes, the looks similar, but...
1) Compasses don't have F* function keys.
2) Internal architecture is different.
Peripheral hardware (keyboard, bubbles, modem, GPiB) are located in D000:0000 - DFFF:0000 memory segment. While on GRiDcase (IBM PC compatible) are located in 100 - 3FF I/O address space.

Screen buffer for compass aka "videoRAM" is located in 0400:000 -
0297F - For screen 320 x 240 - 9600 bytes
043FF - For screen 512 x 256 - 16384 bytes
Right after INT table (0000:0000 - 0000:03FF)

IBM PC have BIOS data are at this address.
GRiDcase videoRAM are located A000:0000 and upwards.

IRQs are different. d8259 (PIC) is located in different I/O Address space. No d8253 (PIT) timer on board, but regular interrupts happen with ~16 kHz frequency when line is drawn on display.

Also Compass have build in "COVOX". It hides inside Modem. There is 8 bit DAC IC from Analog Devices. By writing 8 bit value to address DFE4:0002 regularly you can get some beeps and boops.

3) CCPROM is totally different from BIOS. CCPROM have multitasking and memory allocation stuff in CCPROM. API calls to CCPROM are totally different compared to BIOS. In CCPROM there is jump table for API access. On IBM PC BIOS you are usually call interrupts INT10-INT1B.

4) Bootloader is totally different and loads on different address. CCPROM - 2000:0000, 2 kBybes big; BIOS - 0000:7C00, 512 bytes big

Plus, do these GRiD literally use an 8086 instead of an 8088?
Yes, Compass have true 8086 + 8087 @ 5.00 MHz clock and true 16 bit data bus on mainboard.

Sounds like I need to make topic or write somewhere on web about Compass low level things.
Right now I am working on experiment to get Composite video out from Compass 1101 + Get working 4 bit EL display with RPi Pi Pico help. Original EL display have 1 bit data bus.

From MS-DOS (software) perspective there is no difference between 8086 and 8088 CPU. Software will not notice difference.
 
Last edited:
Thanks for the details - I am hoping to do something with the GPIB eventually (punch writer stuff).

GRIDTerm gave me an option for INTERNAL modem, but as far as I can tell this unit doesn't have one. And I couldn't see any in-ROM DEV tools yet. And don't have a burner to write new ROMs anyway.
 
I have pile of GRiD modems. Not very useful these days.
But what is it interesting the GRiDcase 1550SX tech ref has schematics and pinout of the modem connector, it has obviously all the lines for com port but also 5V power. So if someone knows some kicad-fu it would be possible to design a pcb with max2323 level shifter and pico or esp32 with endless possibilities (wimodem or mouse for instance).
 
Yeah I knew Compass was different, but not exactly how. I got 1520 figured out pretty well now and even have working APPROM emulation for my 1520 86Box project but it requires unmapping CGA so I went down CGA emulation rabbit hole. ;(

@voidstar78 BTW if you gridcase has a floppy it does not have HDD. the JVC HDD is quite chonky and takes space of two stacked floppies in my 3Ps. Open yours up, it is very easy (two screws under the plastic inserts in the back).
 
Met up with some local area folks more familiar with GRiDs, and we opened this one up. Confirmed no hard drive (no room). The "DB25-looking" connector next to the floppy disk drive is said to be for GRiDs proprietary disk drive expansion (5.25 or an additional 3.5). I'll be interested in finding one of those standalone someday.

The internal 3.5 drive on this particular one is a 720KB drive only. I tried inserting several 1.44MB floppies and none of them were readable in this system (but they were readable on my 386 systems).

The label on the ROMs are as follows:
GRiD-OS For 12XX 3.1.6 12/85 30056500
GRiD-OS COMM.CODE 3.1.6 12/85 300516-00
WRITE/TERM/REF 3.1.5 1-85 11XX & 12XX 300255-00
(reminds me of the ROM expansions on the Tandy Model 100)

I assume "COMM.CODE" means Common Code (not Communications Code).

There is a large panel on the bottom (not yet shown) with numerous screws, but I wasn't brave enough yet to open that. But it is suggested there may be an identifying label behind that panel (and that the panel itself is related to the tempest-ness build of this system).

I came across Thomas' GRiD github reference, where he used GRiD's own development tools to recreate a version of the Alien Sentry Gun in Pascal. This was pre-compiled and there is a GRID.EXE that can be used to launch InterGRiD applications (.RUN files) from an MS-DOS prompt (he has an archive of several others, like GPAINT.RUN). From its source code I found the specific font files it needs (it can run without these files, but reverts to default system fonts). I copied all this to the SDLPT which is mounted as a C: drive while booting from the disk drive (using its SDDRV.SYS file). While loading and launching this program, the system shows an interesting GRiD logo in "3D" (and loading/running this from the SDLPT seems to be slower than the disk drive itself, so be patient).

Also per Thomas' notes, I did exercise the GRiD-OS multitasking (when running .RUN files). Basically ALT-CTRL-? and you can specify a window divider size and do other stuff in that other window. I'm not sure if this system has 512KB or 640KB (one GRiD-OS system status program said 512KB, but MS-DOS CHKDSK.EXE reported over 630KB conventional RAM).

I also rummaged through my old 720KB 3.5 disks and miraculously found one that was an MS-DOS 6.20 boot disk. So now I can boot to either MS-DOS 5.0 or 6.20 .

Then just to see if I can run native Hercules MS-DOS programs, I loaded up Atomino from MS-DOS. We're fairly sure this is one of the EL screens, not plasma. But the images here are fairly close to what color it appears in person. Atomino plays game sound effects, but obviously no background Adlib music on this system. But this makes me wonder if an LPT Adlib emulator will work on this system (as it does on my other 286 laptops). I haven't tried it yet - I'll have to make another disk that just has Atomino on there (with MS-DOS and the appropriate LPT Adlib drivers), as I don't think an LPT splitter to try to attach both SDLPT and LTP Adlib at the same time will work.





The other thing I tried was to find GPIB drivers. One suggestion was NI (National Instruments) NI-488.2 drivers for MS-DOS. I tried multiple versions of that, but none of them worked for me (running its GPIB.COM program would just lock up the system; I didn't have any GPIB cable or equipment connected, but I wouldn't think that would be required just to load the driver?). If anyone else has other suggestions on GPIB drivers for these GRID systems, please let me know. I'm not very familiar with GPIB and I don't have any GRiD documentation on what port-numbers they used? Maybe there is some GRiD .RUN software already to support the GPIB port? We'd like to try to run a tape punch from this.


I don't now if there is an archive of GRiD ROMs. And I don't have a ROM reader anyway. But in time maybe we can archive this GRiD-OS version and the WRITE/TERM ROM, if they haven't been already?
 

Attachments

  • IMG_4464 (1).JPG
    IMG_4464 (1).JPG
    1 MB · Views: 14
  • IMG_4498.JPG
    IMG_4498.JPG
    1.2 MB · Views: 12
  • IMG_4494.JPG
    IMG_4494.JPG
    2.2 MB · Views: 11
  • IMG_4473 (1).JPG
    IMG_4473 (1).JPG
    1.4 MB · Views: 11
  • IMG_4467.JPG
    IMG_4467.JPG
    1 MB · Views: 14
Last edited:
While loading and launching this program, the system shows an interesting GRiD logo in "3D" (and loading/running this from the SDLPT seems to be slower than the disk drive itself, so be patient).

The "splash screen" displayed appears to be the the SCRINIT.SCR file that is located in the PROGRAMS folder, regardless of which application is run. The SPoC application has its own specific "splash screen". The only way I've found so far to toggle between them is a batch script to rename the appropriate image file to SCRINIT.SCR prior to running the app.
 
I came across Thomas' GRiD github reference, where he used GRiD's own development tools to recreate a version of the Alien Sentry Gun in Pascal. This was pre-compiled and there is a GRID.EXE that can be used to launch InterGRiD applications (.RUN files) from an MS-DOS prompt (he has an archive of several others, like GPAINT.RUN). From its source code I found the specific font files it needs (it can run without these files, but reverts to default system fonts). I copied all this to the SDLPT which is mounted as a C: drive while booting from the disk drive (using its SDDRV.SYS file). While loading and launching this program, the system shows an interesting GRiD logo in "3D" (and loading/running this from the SDLPT seems to be slower than the disk drive itself, so be patient).
To be clear, if I have all the (original) Grid/InteGRid ROMS, I could run the Aliens Sentry Gun with the following command:

GRID.exe UA571C.run

I don't need any other files (not worried about the fonts)? If so, I might swap out some ROMs and try it (I pulled them for other "custom" ROMs I burned years ago). Caveat: I have a GridLite laptop, so I realize it will look different (unless it won't run in CGA at all).
 
Last edited:
To be clear, if I have all the (original) Grid/InteGRid ROMS, I could run the Aliens Sentry Gun with the following command:

GRID.exe UA571C.run

I don't need any other files (not worried about the fonts)? If so, I might swap out some ROMs and try it (I pulled them for other "custom" ROMs I burned years ago). Caveat: I have a GridLite laptop, so I realize it will look different (unless it won't run in CGA at all).
Follow up: I can't believe I got this to work!
All I had to do was insert the following (2) ROMs (from my original purchase):
1) InteGRid
2) Grid-OS Comm
After that, it was just a matter of running GRID.exe and them selecting the "run" file.
 
In the PROGRAMS folder is a bunch of .TYP files that I think are various font options. In the UA code, these are referenced like so:
font := NewStringLit('Tb9X12');
....
font := NewStringLit('Tb24X32');
...
font := NewStringLit('Tb12X16');

So for the UA571 program to "look right" those are probably the only .TYP files that are needed.
TB9X12.TYP
TB24X32.TYP
TB12X16.TYP

Without these files, you'll get a default system font as a fallback.

Note for some reason I couldn't get UA571 to run directly from the floppy disk, I could only run it from the SDLPT emulated drive mounted as C:\.

Are you saying your 2nd GRiD didn't have any ROMs, all the slots were blank? Or it had some and they just weren't working? Eitherway, now a good excuse to learn how to clone and burn some new ROMs.
 
Are you saying your 2nd GRiD didn't have any ROMs, all the slots were blank? Or it had some and they just weren't working? Eitherway, now a good excuse to learn how to clone and burn some new ROMs.
I had removed those (Grid) ROMs from my GridLite to make room for other (custom) EPROMs, so I simply replaced the ones I needed to run InteGRid. I don't (currently) have any need (or way) to clone/burn EPROMs, and I guess I didn't make it clear that I'm not able to "compile" any code (so I don't have a "Programs" folder); I simply run GRID.exe and then select the UA571C.run that you created (everything runs in RAM).
If including those .TYP files somewhere (like in the same directory as the .RUN file would make it work, then that's easy enough to do; otherwise, I'm happy with just being able to run something on my GridLite after 30+ years!
 
Back
Top