Description:
Programming MS-DOS machines.
|
|
|
Source code to initilize a Cirrus Logic GD5420 VGA chip
|
| |
This is a bit of a long shot but I am trying to find source code for any one of the ROMS that were typically used to initilize/run ISA VGA video boards using the Cirrus Logic GD54xx chips. Early 90's vintage. I am putting together a S-100 board in an MSDOS driven system that could use this chip. See for example:-... more »
|
|
mTCP 2013-04-26 is updated
|
| |
mTCP 2013-04-26 is available now. In case you have not heard of it, mTCP is a collection of TCP/IP programs for DOS that run on the earliest IBM PCs and clones using DOS all the way to DOS running inside of virtual machines. mTCP includes a DHCP client, FTP client and server, Telnet client, IRC client, and more.... more »
|
|
DOS error code question
|
| |
According to the MS-DOS docs, the following error codes
are generated when INT21 functions CREATE WRITE fail:
Int 21 3C CREAT - errors 3, 4, 5
Int 21 40 WRITE - errors 5, 6
So what happens when:
- there is no more directory space (CREAT)
- there are no more disk blocks (WRITE)
None of the codes above seem to cover this (?) Does... more »
|
|
OMF linkers
|
| |
It's been brought up recently (in the other topic) that different linkers have different features, options, etc. We all know that OMF is (or was) the predominant object format for DOS-based systems. However, tools for this format have become neglected over the past dozen or so years (esp. since WinXP became ubiquitous). Hence, it's hard to find reliable OMF linkers for DOS outside of those that normally came with various compilers (old but presumably stable).... more »
|
|
How to make sure interrupt is NOT generated between code snippets ?
|
| |
I have one question about the timing of interrupt generation between code snippets...Let me briefly describe as follows:
@ "example" code
1. ...
2. assign value to global variable // 0/1 means invalid/valid
3. set H/W register via memory-mapped IO method // 0 means completed
@ "example" ISR code... more »
|
|
Concatenating All Log Files But Last One
|
| |
I am trying to write a CMD batch file script that concatenates the text (lines) of ALL BUT LAST ONE the files (Apache logs) in time order.
1. Assume the batch (.bat) file is in the same directory
2. Assume the files are named "prefix-ddmmmmyyyy.log" where 'prefix-' and '.log' are unvarying characters in the file name.... more »
|
|
Borland's Free Ver 5 Compiler
|
| |
[This followup was posted to comp.os.msdos.programmer and a copy was sent to the cited author.]
Some time back the company that now holds the strings to what used to be Borland posted an available Version 5 of their compiler tools for free download. Does anyone know if these Ver 5 tools are suitable for use in making... more »
|
|
Borlands TLINK and minimizing an EXEs memory usage
|
| |
Hello all,
I just created an EXE style executable, in which I tried to allocate 32
KByte of memory using INT 21h, AH=48h. To my amazement it failed, and
reported I could just get 7 segments worth of it. I always thought that an
EXE style program used as much as it needed, and no more :-\
Some googeling later I was reaquainted with the min- and max-allocation... more »
|
|
problems mixing direct char i/o with handle i/o
|
| |
Hi,
Are there any know problems mixing direct console input with handle
input under DOS (in particular Windows 95 MS-DOS, but without Windows
loaded)? I'm using the following code snippet to read the keyboard,
but to return whether a key has been pressed or not.
mov dl,0ffh ; input, no wait... more »
|
|
create new file
|
| |
I have the following program:
C:\devel\pdos\src>type writfil.c
...
int main(void)
{
FILE *fq;
printf("opening file\n");
fq = fopen("zzout.txt", "w");
printf("fq is %p\n", fq);
return (0);
...
And I compiled it with tcc++ 1.01 and then
ran it under my own OS (PDOS) and was... more »
|
|
|