Article View: comp.sys.atari.st
Article #6178GEM help needed over here, too
From: Chris Parkin Lilley
Date: Mon, 27 Nov 1989 13:04
Date: Mon, 27 Nov 1989 13:04
24 lines
1909 bytes
1909 bytes
I have several queries regarding the ST and GEM. My major question is: How the heck do I get text into my GEM application windows?? I've managed to hack an example application so that it will make several windows and allow them to be moved around using the mouse, resized, fulled, and closed. My next major requirement is to get text into the windows. How do I do it? How do I change fonts? Please help -- it's getting urgent. I'd also like to know more about operating the serial port. I tried to use the stdio functions (I'm using MWC 3.?), like fopen(), but I kept getting errors like `fundamental error' and `no error'. Eventually I resorted to using bios calls, but the program I've got still loses characters (presumably because it's not running fast enough). Can I get at the port without going through bios? Is there any way of installing an interrupt service routine and persuading the serial device to interrupt when there's a character or when it's ready to transmit? That way, I wouldn't have to poll it. Thanks in advance... -Chrisl. -- -------------------------------------------------------------------------------- Chris Parkin Lilley, CS1.2, BT Fulcrum, UK chrisl@uk.co.bt.fulcrum
Technical Details
Message-ID:
<1989Nov27.130407.25447@masalla.fulcrum.bt.co.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!kl-cs!nott-cs!cat.fulcrum.bt.co.uk!masalla.fulcrum.bt.co.uk!chrislReferences:
<30200010@inmet> <46300063@uxf.cso.uiuc.edu> <1260@atha.AthabascaU.CA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!kl-cs!nott-cs!cat.fulcrum.bt.co.uk!masalla.fulcrum.bt.co.uk!chrisl From: chrisl@fulcrum.bt.co.uk (Chris Parkin Lilley) Newsgroups: comp.sys.atari.st Subject: GEM help needed over here, too Summary: How do I do text? Keywords: GEM, text, windows, aux: Message-ID: <1989Nov27.130407.25447@masalla.fulcrum.bt.co.uk> Date: 27 Nov 89 13:04:07 GMT References: <30200010@inmet> <46300063@uxf.cso.uiuc.edu> <1260@atha.AthabascaU.CA> Reply-To: chrisl@fulcrum.bt.co.uk (Chris Parkin Lilley) Followup-To: comp.sys.atari.st Organization: BT Fulcrum, Birmingham, England Lines: 24