home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / cbm / 4446 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  3.1 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!doc.ic.ac.uk!citycs!sheun
  2. From: sheun@cs.city.ac.uk (Sheun Olatunbosun)
  3. Newsgroups: comp.sys.cbm
  4. Subject: GEOS and drivers
  5. Message-ID: <1992Nov9.095754.577@city.cs>
  6. Date: 9 Nov 92 09:57:54 GMT
  7. Sender: news@city.cs (News)
  8. Organization: City University, London
  9. Lines: 58
  10.  
  11. Attention to all you GEOS gurus out there.
  12.  
  13. I have GEOS v1.3 which I love using but, I am presented with two problems.
  14.  
  15. 1. I have an Star LC-20 printer with a centronics interface. I'm using it
  16.    with an Epson-Fx 80 driver under GEOS. When I print text files, the output
  17.    is sometimes corrupted (one graphic line out of every one hundred), and I
  18.    believe the problem is that the computer is sending data too fast to the 
  19.    printer. 
  20.    Could someone tell me the printer lines (and their connections on the
  21.    C64 user port) which GEOS drivers use? With the interface cable that I
  22.    made, I know that it uses the following signals (I do not remember the
  23.    pin connections off hand, but if anybody is interested in making a parallel
  24.    cable then I'll dig up the details).
  25.  
  26.    Strobe, Data 0-7, Acknowledge, Printer Busy
  27.  
  28.    On the other hand, would being in possession of a Star LC-20 GEOS printer
  29.    driver solve the problem?
  30.  
  31. 2. I am using a joystick to navigate around the GEOS workbench. I would ideally
  32.    like to make use of my NEOS mouse, but I only have the 1531 mouse input
  33.    driver. My NEOS mouse produces exactly the same signals as for a joystick
  34.    when moved in one of the eight directions. However, the signal toggles from
  35.    a logical value of 0 to 1 depending on how quickly the mouse is moved (I've
  36.    investigated this under BASIC). 
  37.    Could some please give me some technical information about how a GEOS input
  38.    driver is written. For example, what load address should the driver have,
  39.    does the driver routine update x,y coordinate locations specifying the
  40.    current cursor position, what other GEOS routines need calling to keep in
  41.    proper working with the GEOS environment, must the driver routine return
  42.    any required values in the processor registers, etc?
  43.    I know that I could find all of this information in the GEOS programmer
  44.    reference manual, but could somebody out there help me at a cheaper price?
  45.  
  46. Any help considered a plus.
  47.  
  48.  
  49. Oh. My pet project at the moment is writing a m/c routine in BASIC RAM v2.2
  50. which will redirect standard printer output from the serial port
  51. to the parallel port. The code appears in RAM where I have copied the BASIC 
  52. and KERNAL ROM data to the underlying RAM. I've written the code on top of 
  53. cassette routines in KERNAL RAM since I no longer use a datasette (appallingly
  54. slow). While my code works okay in BASIC (I can do the following code), it
  55. does not seem to be compatible with my disk drive. I am intercepting serial
  56. routines (OPEN,LISTEN,SERIAL OUT, and CLOSE) to detect when the printer
  57. (device #4 or #5) is being accessed.
  58.  
  59. open 1,4,7
  60. cmd 1
  61. list  (a program sent to the parallel interface)
  62. close 1
  63.  
  64.  
  65. Oh well, I'll keep plugging at it. What are you other programmers doing out
  66. there? Or has the newsgroup become more application-user orientated?
  67.  
  68. Sheun
  69.