🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #30389

Avoiding Ctrl-C

#30389
From: Jos Vermaseren
Date: Wed, 03 Feb 1988 12:13
32 lines
1994 bytes

The use of interrupts via Ctrl-C is purely limited to calls to Gemdos.
When the normal I/O functions of Gemdos are called and there is a need
to put a character on the screen there is first a check whether the
BIOS (via Bconstat) has a new character and if so whether this is one
of the special characters (Ctrl-S, Ctrl-Q, Ctrl-C and a few more).
If so the appropriate action is taken. This makes it necessary for
Gemdos to have its own input buffers. During the programming there
came a small bug in those and if one has a program that uses input
characters, but slower than the user types them in it is possible to
crash (hard to do intentionally).
If there is a need to circumvent the Ctrl-C there are two possibilities:
1: use Crawio for all screen I/O. This is one of the few Gemdos functions
   that doesn't test for Ctrl-C etc.
2: Get the characters via Bconin and write them via Bconout. This last
   method is the faster, but in a shell it is now impossible to redirect
   the screen I/O. Using Bconout with device number 5 allows the user
   to also put the non ASCII characters on the screen.

Concerning the above bug and the recent remark from DRI:
I think it is quite impressive that one person put Gemdos together in one
month. It leaves however more questions than were answered:
Why is it then so difficult to have somebody spend another month making it
into a great file system with speed and even fewer bugs?
It would result in something that DRI could be proud of rather than that
many people complain about the piece of work that they sold.
What are the great programs that this kind of people make during all
those other months?

Jos Vermaseren
T68@nikhefh.hep.nl
Technical Details
Message-ID: <427@nikhefh.hep.nl>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!nikhefh!t68

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!nikhefh!t68
From: t68@nikhefh.hep.nl (Jos Vermaseren)
Newsgroups: comp.sys.atari.st
Subject: Avoiding Ctrl-C
Message-ID: <427@nikhefh.hep.nl>
Date: 3 Feb 88 12:13:51 GMT
Organization: Nikhef-H, Amsterdam (the Netherlands).
Lines: 32