[comp.sys.ibm.pc] queries on Turbo C setjmp, Hercules glitches, extended kbd.

bobl@tessi.UUCP (Bob Lewis) (07/22/89)

I've been having a few unusual situations arising on my XT clone, and I
thought some kind soul out there might be able to offer guidance.  In
decreasing order of significance:

1)	I've been trying to use setjmp/longjmp in a Turbo C 2.0 program that
	uses graphics.  The TC (non-graphic) example program works fine, but my
	program crashes the system.  This happens on both my clone and the HP
	Vectra ES/12 I'm porting to.  Has anyone come across something similar?
	Conversely, are there TC 2.0 graphics programs out there that use
	graphics and setjmp/longjmp with no problems?  Is this something to do
	with near/far declarations?

2)	Periodically, my Hercules-clone-driven display introduces a handful of
	random characters, one at a time,at random locations on the screen.
	This happens regardless of the program running (even COMMAND.COM).  In a
	text editor, the bad characters scroll, but go away if the screen is
	refreshed.  Is this indicative of a buggy Herc driver card?  Bad
	internal RAM?  Virus?  High cosmic ray flux?

3)	(Now this is really a whine.)  I recently bought a used (real) XT
	extended keyboard for my clone.  Although the SHIFT LOCK, SCROLL LOCK,
	and NUMERIC LOCK lights light up at boot time (i.e., they work), they
	cannot be activated with the corresponding keys.  The keys still work,
	however.  It's just the lights that don't.  Is this a normal state of
	affairs with clones?  (I think I know the answer to this one.)

Thanks in advance.  Please reply by email.  I will forward or summarize if
so requested.

	- Bob Lewis
	  bobl@tessi.UUCP