HDTenEightyP/NetNews huggingface dataset:
From: lane@duphy4.physics.drexel.edu
Newsgroups: comp.os.msdos.programmer
Subject: scancodes for LK250
Date: 1 Oct 92 18:09:11 GMT
Distribution: all
Organization: Drexel University Physics

I have a DEC LK250 keyboard on a PC, and would like to use it in
"VT200" mode in a program.   In order to do this, I have to get
keypresses from the F17-F20 keys, and PF1-PF4 (VT designations).

These correspond to NUMLOCK, SYSREQ, etc, and don't seem to generate
scancodes ....  But my Zstem terminal emulator handles them with no
problem.

What does it take to read this keyboard like a VT?  Some special driver?

Thanks for any help...
--

 Drexel University       \V                     --Chuck Lane
----------------->--------*------------<--------lane@duphy4.hepnet
     (215) 895-1545      / \  Particle Physics  lane@duphy1.bitnet
FAX: (215) 895-5934        /~~~~~~~~~~~         lane@duphy4.physics.drexel.edu
From: hallch@CS.ColoState.EDU (christopher hall)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Horizontal Scrolling
Date: 4 Oct 92 21:04:20 GMT
Organization: Colorado State University, Computer Science Department

In article <718222072.F00001@monly.wlink.nl.monly.wlink.nl> Martijn.Dijksterhuis@p6.f17.n512.z2.wlink.nl (Martijn Dijksterhuis) writes:
>
>Together with some friends of mine i'm writing a program that is in dire need of a smooth scrolling routine for the 0x13Hex VGA (320x200x256) mode.
>

First of all, what kind of images are you trying to scroll.  If you wanted you
could switch your program to Mode X (check other forums or Dr. Dobbs Journal
for details) and then you could manipulate the Start Address High and Start
Address Low to create a smooth scroll.  If you don't want to do this there is
another possiblity.  If you are able to blank your screen before the scroll
starts (just for a brief moment, less than a second probably) and are able to
do the same after the scroll then you could try the following.  First turn off
the video refresh so your monitor will blank, then switch the video mode to
Mode X, load the second page of memory in (it won't quite work like Mode X but
you can probably figure out the addressing you need), and then turn on video
refresh.  You theoretically then have the current image on your monitor and
then by manipulating the Start Address High and Start Address Low registers you
can scroll the second page of memory onto the screen.  I advise that you now
blank the screen again.  Copy the second page of memory to the first (in Mode X
again of course) and set the Start Address High and Start Address Low registers
to the first page.  This will make a VERY smooth scroll if done correctly and
when you are complete with the scroll the video card is like it was before you
started to scroll.
     Hope this helps.  Write me a email message and let me know.

Chris Hall
hallch@handel.colostate.edu <- email address
From: ath@linkoping.trab.se (Anders Thulin)
Newsgroups: comp.os.msdos.programmer
Subject: Re: debugger for zortech c++ x-model
Keywords: dos386 zortech
Date: 2 Oct 92 08:31:14 GMT
Organization: Telia Research AB, Teknikringen 2B, S-583 30 Linkoping, Sweden

In article <1992Oct1.153713@informatik.uni-kl.de> j_delgad@informatik.uni-kl.de (Jan Delgado) writes:

Please ensure your return address is OK.  I got this in return:

   ----- Transcript of session follows -----
While talking to uklirb.informatik.uni-kl.de:
>>> RCPT To:<j_delgad@informatik.uni-kl.de>
<<< 550 (USER) Unknown user name in "j_delgad@informatik.uni-kl.de"
550 <j_delgad@informatik.uni-kl.de>... User unknown

Ask your sysadm about it.

>does anyone know how to debug a dos386 program created
>with the zortech compiler ?

Yes. Purchase the updated DOSX extender from FlashTek.  It will fix
the problem - or so I'm told.

In Europe, call:

Murray Communications Ltd
53 Harrowby Lane
Grantham
Lincs
NG31 9HZ

Tel: 44-476-74108
Email: pmurray@cix.compulink.co.uk


In US:

FlashTek, Inc.
804 Airport Way Suite D
Sandpoint, Idaho 83864

FAX:    208-263-8772
Voice:  208-263-7311
Orders: 800-397-7310
Email:  x-32vm@proto.com

Usual disclaimer:
  And, no I have no connections with either of these companies. 

-- 
Anders Thulin       ath@linkoping.trab.se 	013-23 55 32
Telia Research AB, Teknikringen 2B, S-583 30 Linkoping, Sweden
-- 
Anders Thulin       ath@linkoping.trab.se 	013-23 55 32
Telia Research AB, Teknikringen 2B, S-583 30 Linkoping, Sweden
Newsgroups: comp.os.msdos.programmer
Subject: Re: assembler/dissassembler
From: ccdps@levels.unisa.edu.au
Date: 2 Oct 92 14:49:09 +0930
Organization: University of South Australia

Simtel has a whole directory of disassemblers for PC-compat and other
chips:

MSDOS.DISASM
 File name       Size  T  Date    Description
 8048DIS.ARC    16450  8  890801  Disassemble programs for 8048/8049 chip
 ASMGEN3.ZIP    75203  8  901123  Generate assembly code from COM and EXE's
 BUBBLE.ZIP     85743  8  920312  Bubble: A disassembler for COM or EXE programs
 DASM48.ARC     23065  8  871017  Intel HEX disassembler for 8048 microprocessor
 DASM80.ARC     21757  8  871017  8080 disassembler
 DASMZ80.ARC    59387  8  871017  Z80 Intel HEX file disassembler
 DEB2ASM.PQS    21454  8  870722  Pascal pgm changes debug 'u' captures to .ASM
 DIS86212.ZIP   71636  8  920512  Disassembler for 8086, 80286, 80386 programs
 DMPPRG12.ZIP   30443  8  910815  Disassembles MS-DOS & Windows 3 .EXE files
 ID12.ZIP       27040  8  910109  Intelligent Disassembler v1.2
 MD86.ZIP      166241  8  910115  Masterful Disassembler for Intel 8086 programs
 RES86.ARC      47561  8  880612  Disassembler by Ward Christensen

--
 Dan Shearer                        email: Dan.Shearer@UniSA.edu.au
 Computer Centre                    Phone: +61 8 302 3479
 University of South Australia      Fax  : +61 8 302 3385
From: s921880@minyos.xx.rmit.oz.au (Adam Craig Seychell)
Newsgroups: comp.os.msdos.programmer
Subject: How can the address line 20 be enabled
Date: 28 Sep 92 08:02:52 GMT
Organization: RMIT Computer Centre
NNTP-Posting-Host: minyos.xx.rmit.oz.au


          How can the address line 20 be enabled

The a20 line must be enabled for the processor ( only in
protected mode ) to use all of the extended
memory and not just the even megabyte blocks.
I know that the keyboard controller does this and that a
single bit in
a single register must be set to enable the a20 line.
But setting this bit is not as easy as using the OUT
instruction but 
rather a instruction must be sent to the keyboard controller
then
a few other security registers must be played with and only
then
the A20 line can be enabled. As you can see this bit is not
easy to get too.
one would think that loading HIMEM.SYS will enable it because of the
message it gives.
	"A20 line enabled  " 
but it doesn't seem to stay enabled all the time, only when HIMEM.SYS needs to.
Because when I try to access any memory from 100000h to 1fffffh it
accesses the low megabyte of memory.



     Does any one out there know how this can be done.
     even the smallest information about the A20 line will be
appreciated

          email to s921880@minyos.xx.rmit.oz.au
Newsgroups: comp.os.msdos.programmer
From: homer@theory.TC.Cornell.EDU (Homer Smith)
Subject: ctty com3
Organization: Cornell Theory Center
Date: Wed, 30 Sep 1992 11:06:12 GMT


     I have a dumb terminal hooked up to com3: on my 486 pc.  Kermit
is happy to send and receive from the dumb terminal, what I type
on the pc shows up on the terminal, and what I type on the terminal
show up on the pc.
 
     In dos, when I issue ctty com3:, i get the command prompt
on the dumb terminal, and it accepts what I type up to the CR,
after which it jams terminally.
 
     Why?
 
     Thanks, Homer
From: exurwmi@exu.ericsson.se (R. Milligan)
Newsgroups: comp.os.msdos.programmer
Subject: Special Characters
Date: 5 Oct 92 16:34:16 GMT
Reply-To: exurwmi@exu.ericsson.se
Organization: Ericsson Network Systems
X-Disclaimer: This article was posted by a user at Ericsson in North America.
              The opinions expressed are strictly those of the user and
              not necessarily those of Ericsson.

I am currently creating special characters for text windows on a VGA screen.  I 
use an interupt call to write the character into video memory.  What I need to do 
is put back the original characters into video memory and the end of the program.
I have looked into useing some tools to do this but the problem is that all let you 
read the whole Video memory to a file then load it back later.  All I want to do is 
read one or two characters at a time.  Is there a way to do this.
Please send responces to  exurwmi@exu.ericsson.se

Thanks in advance.
From: pynq@quads.uchicago.edu (George Jetson)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Critical Error Handlers and QEMM
Date: 29 Sep 92 14:30:21 GMT
Article-I.D.: midway.1992Sep29.143021.9570
Reply-To: pynq@midway.uchicago.edu
Distribution: usa
Organization: D. J. Dougherty & Associates

In article <1992Sep29.123152.20212@inmet.camb.inmet.com> lipsett@nola.camb.inmet.com (Roger Lipsett) writes:
>
>I am in the process of modifying a critical error handler in various ways,
>mostly for my own edification and amusement.  This handler is actually a TSR
>that hooks INT24.  It appears to me that such a handler cannot be installed
>in the usual way (that is, using INT21 function 25), because when the
>program terminates staying resident, DOS restores the old values of the
>INT24 vector from the PSP.  Thus, the program must write the address of the
>new handler into its own PSP before terminating.  My problem is that I would
>like to be able to load the thing high using QEMM (for example), but would
>not like to be *forced* to do so.

A couple of ideas:
	1) Hook the timer interrupt, and wait a few seconds after going
	   resident.  Then install yourself into the interrupt table.
	   This gets around the "COMMAND.COM undoes all my efforts"
	   problem.
	2) Look into Ralf's AMISLIB system.  Although I've never used
	   it, it seems to me that it would allow you to auto load-hi, and 
	   thus perhaps get around this problem.  As far as I know,
	   though, the problem with AMISLIB is that it is assembler
	   based; I don't know if you can use it if, by chance, you are
	   coding in an HLL.

************************************************************************
A note to new readers:  the weasely :-) symbol is frowned upon in this
group.  Any questions, see Phil Gustafson who will gladly rearrange your
diodes for you.
			- From the AFU FAQ -

	- pynq@quads.uchicago.edu, who is still costing the net
	  hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
From: rdk@cyberdyne.Eng.Sun.COM (Robert Kieronski)
Newsgroups: comp.os.msdos.programmer
Subject: Re: smartdrv 4.0 question
Date: 29 Sep 1992 01:03:06 GMT
Organization: Sun Microsystems
Distribution: world
Reply-To: rdk@cyberdyne.Eng.Sun.COM
NNTP-Posting-Host: cyberdyne
To: berto@and.nl (Bert van Oortmarssen)

In article 3484@doortje.and.nl, berto@and.nl (Bert van Oortmarssen) writes:
>I have a piece of code that reads one bitplane of a VGA-screen from disk,
>( fread(buf, 1, VGASIZE, fp)  where VGASIZE is defines as 38400u). If 
>smartdrive is disabled, the code works fine, but when smartdrv is enabled
>the contents of buf will be corrupted (when loaded a second time).
>
>Is smartdrv wrong ?? Anyone who can give me any information on this ??
>
>
>Bert van Oortmarssen
>berto@and.nl


This sounds like the kind of thing that happens when you are using a disk
controller (like an Adaptec 1542, maybe?) that does bus mastering and deals
only in physical (real-mode) addresses.  Smartdrv 4.0 deals only with virtual
addresses, as does the ASPI4DOS driver, by the way.

If your controller gets passed a virtual address when it is expecting a physical
address your data winds up somewhere in West Hyperspace, or comes from there.
Might that be your problem?

There is a paragraph or two in your Windows 3.1 User's Guide that explains the
installation of Smartdrv 4.0 with the Double Buffering option, and why you may
need it.  Double Buffering in this case means it has one set of buffers for
virtual addresses, and one for physical addresses, and it takes care of the
translation in both directions, as I understand it.

Also, if you really are using the Adaptec stuff, and you put your drives under
control of the ASPI4DOS manager, you can skip the Double Buffering option in
Smartdrv.

-Bob
From: ss62+@andrew.cmu.edu (Shelby Stewman)
Newsgroups: comp.os.msdos.programmer
Subject: Re: assembler/dissassembler
Date: 28 Sep 92 23:36:28 GMT
Organization: Heinz School, Carnegie Mellon, Pittsburgh, PA

Look for A86 and D86 (A-assembler/D-disassembler) at

wuarchive.wustl.edu  directory /mirrors/msdos/asm (I believe).

Its somewhere at wuarchive.wustl.edu, but I don't know the exact subdirectory.

Hope this helps.


                -- Shannon F. Stewman
From: jh5y+@andrew.cmu.edu (Jordan Powell Hargrave)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Mouse under svgabgixx.zip - Help us, Jordan!
Date: 2 Oct 92 00:42:31 GMT
Article-I.D.: andrew.0en0hrW00WB8FWLPIM
Organization: Senior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA


  Mouse support for my BGI drivers is through the standard int 0x33 interface
for mouse calls. (Your mouse driver must already be loaded for these
functions to work)

  The mouse driver (mouse.com/sys) worked in SuperVGA modes, but did not
have support for drawing the cursor itself.  The mouse support in the BGI
drivers adds this functionality.

  So, to get the mouse to work with the BGI drivers:

  ...
   union REGS regs;
   int gd, gm, havemouse;

   gd = DETECT;
   installuserdriver(driver_name,Always);
   initgraph(&gd,&gm,"");
   regs.x.ax = 0;
   int86(0x33,&regs,&regs);
   // regs.x.ax will be 0 or 0xFFFF, forget which one specifies if the mouse
   // is available right now, been using Unix too long ;-)
   // Anyway, set havemouse to true if the mouse is available
    if (havemouse) {
      regs.x.ax = 1;
      int8x(0x33,&regs,&regs);
      // display mouse cursor
   }
   // etc

  Check books/files on mouse programming for a more detailed account of how
  to use the int 0x33 functions.

  Oh, by the way, make sure to include a closegraph statement before exiting
  your program, the BGI driver captures the 0x33 interrupt, and if it is not
   released, nasty things will happen.

  Jordan Hargrave
From: STDN@MARIST.BITNET (Dan Newcombe)
Newsgroups: comp.os.msdos.programmer
Subject: Problem with small graphic assembly prog.
Date: 1 Oct 92 11:51:26 GMT

Hi all...
  I wrote this small assembly program last night in Debug.  What it is
meant to do is to switch to the graphics mode, draw a green line, wait
for a keypress, then exit.  The program works fine if I run it from
inside of debug.  It also works fine if I write it to the boot sector
of a floopy and re-boot.  It does not completly work from the DOS prompt
though.  It does clear the screen into graphics mode, and it then waits
for the keypress and exits - No green line :(   Any help would be
greatly appreciated.
   Thanks!!!
     -Dan   STDN@VM.MARIST.EDU    STDN@MARIST

Here's the code:
20E8:0100 B400          MOV  AH,00       Function to change video mode
20E8:0102 B012          MOV  AL,12       Mode desired
20E8:0104 CD10          INT  10          Video Interuppt
20E8:0106 BB4002        MOV  BX,0240     Starting Coordinate/Counter
20E8:0109 81FB6002      CMP  BX,0260     See if counter is at end point
20E8:010D 740D          JZ   011C        If so, jump to 11C
20E8:010F 43            INC  BX          Increment Counter
20E8:0110 B40C          MOV  AH,0C       Function to put a pixel
20E8:0112 B002          MOV  AL,02       Color of the pixel
20E8:0114 89D9          MOV  CX,BX       Where I want the pixel(horiz.)
20E8:0116 B2A0          MOV  DL,A0       Where I want the pixel(vert)
20E8:0118 CD10          INT  10          Video Interuppt
20E8:011A EBED          JMP  0109        Jump to start of the loop
20E8:011C B401          MOV  AH,01       Function to get a character
20E8:011E CD21          INT  21          Dos Interuppt
20E8:011F CD20          INT  20          Dos Exit Interuppt
From: mortenk@dhhalden.no (MORTEN KNUDSEN)
Newsgroups: comp.os.msdos.programmer
Subject: Re: VGA/SVGA Information
Date: 27 Sep 92 15:09:58 GMT
Organization: Ostfold College

In article <5654@tuegate.tue.nl> raymondp@blade.stack.urc.tue.nl (Raymond Penners) writes:
>From: raymondp@blade.stack.urc.tue.nl (Raymond Penners)
>Subject: VGA/SVGA Information
>Date: 25 Sep 92 13:58:08 GMT
>
>Hi everyone!
>
>I am looking for some documentation on VGA or SVGA. Can anybody tell me
>where I can find some .TXT/DOC files about (S)VGA and how to program
>it in assembler. Some ASM-examples would be nice too. You may also E-Mail 
>them to me.
>
>Thanx in advance,
>
>Raymond Penners (raymondp@blade.stack.urc.tue.nl)
>-- 
>     ///  Signed, Raymond Penners!
>__  ///   Internet: raymondp@blade.stack.urc.tue.nl
>\\\///    
> \XX/     "lea PC-XT/AT,a0; move.w #$dead,(a0); clr.l msdos; jmp AMIGA!"

I've just downloaded the VGADOC01.ZIP from garbo, but I really need some
example source code. Could you please mail me some if you can find any?
From: jfmburg@cs.vu.nl (JFM Burg)
Newsgroups: comp.os.msdos.programmer
Subject: wp NEC p/20 driver?
Date: 29 Sep 92 10:23:20 GMT
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
X-Newsreader: TIN [version 1.1 PL6]

Hey,

when I was installing WordPerfect 5.1 yesterday, I couldn't find a
printerdriver for my NEC Pinwriter P/20. There are drivers for the P/2,
P/2+, P/3 etc, but not for the P/20 or P/30. 

I've tried, though, the P/2+, but it's not fully compatible. Now I've got
the following question:

Is there another driver that is compatible with the P/20  (Epson, Star ?)
or is there a P/20 driver available (on a FTP-site, maybe?) ?

If you do know the answer, let me know quickly, please,

thanx in advance,

				Hans

-- 
				Hans Burg
				Vrije Universiteit
				Amsterdam, Holland
				e-mail : jfmburg@cs.vu.nl
Newsgroups: comp.os.msdos.programmer
From: mrmarcel@eos.ncsu.edu (MICHAEL RONN MARCELAIS)
Subject: Re: Getting %1, %2, etc under Borland C
Organization: North Carolina State University
Date: Mon, 28 Sep 1992 23:20:53 GMT

In article <1992Sep28.181846.9408@news.iastate.edu>, jws@iastate.edu (James William Shoemaker) writes:
|> 	In MSC 6.0 + SDK I use something like
|> 
|> extern int	__argc; (this may be wrong it may be *__argc)
|> 	this is the count of arguments.
|> 
|> extern char	**__argv[];
|> 	a pointer to an array of pointers to the argument strings.
|> 
|> 	There should be something similar in BC++.
|> 
|> 				JWS
|> 

or just do this (for ANY c/c++)

int main(int argc, char **argv)
{
[...]
}


-- 

+-------------------------------------+------------------------------+
|  Mike Marcelais                     | mrmarcel@eos.ncsu.edu        |
|  356 Tucker, Box 04783, NCSU        | Fourth Bryan Productions     |
|  Raleigh, NC  27607                 | #include <disclaim.h>        |
+-------------------------------------+------------------------------+
| if the above address bounces, then try the address below:          |
| mrmarcel%eos.ncsu.edu@ncsuvx.ncsu.edu                              |
+--------------------------------------------------------------------+
Newsgroups: comp.os.msdos.programmer
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: Expand DOS prompt?
Organization: University of Vaasa, Finland
Date: Sat, 3 Oct 1992 20:30:12 GMT

In article <92276.135321ISSSEG@BYUVM.BITNET> <ISSSEG@BYUVM.BITNET> writes:
>Appearantly DOS prompt only allows 128K (characters).  I need to know
>how to expand DOS prompt beyond 128K using DOS and not and external

Please explain here in the newsgroup why you need this.  I genuinely
ask because that way the readers might better try to solve the
actual problem you have.  Or is this rather just an (interesting)
exercise for its own sake?

..................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
Newsgroups: comp.os.msdos.programmer
From: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff)
Subject: Re: 32 bit C, again...
Organization: UMCC, Ann Arbor, MI
Date: Fri, 2 Oct 92 17:14:24 GMT

Would DJGPP be compatible with some code I have for doing data aquisition
(it's doing DMA into a buffer in lower memory).

Can you call routines in existing 16bit libraries (which I don't have source
for)?

-- 
Jon Zeeff   NIC handle JZ   jon@ais.org  	President, UMCC
Newsgroups: comp.os.msdos.programmer
From: jfmburg@cs.vu.nl (JFM Burg)
Subject: extended memory
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 28 Sep 1992 07:50:00 GMT

Hey,

a friend of mine asked me the following about his AT (286) with 2Mb
internal memory:

He wants to use his extended memory (1Mb) for some applications, but he
cannot reach it. He has tried Qmem (a memory-manager, that I've never
used), but it did not work. His question is: Does anyone know a
memory-manager for his AT (not for a 386, this works fine) so he can use
his extended memory?

This is all he told me (or what I've remembered, it was pretty late...:-),
but if you do have an answer or a hint, I would really like to hear it.

Thanx in advance,

				Hans
-- 
				Hans Burg
				Vrije Universiteit
				Amsterdam, Holland
				e-mail : jfmburg@cs.vu.nl