python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Segmented far pointer allocation in 16bit x86 MS-DOS real mode
I'm trying to get my head around programming real mode MS-DOS in C. Using some old books on game programming as a starting point.
The source code in the book is written for Microsoft C, but I'm trying...
IronPug
Votes: 0
Answers: 1
Base poiner offset in x86 real mode
Having a following code:
.code16
_entry:
xorw %ax, %ax
movw %ax, %ds
movw %ax, %ss
movw %ax, %es
movw $0x7c00, %ax
movw %ax, %sp
movw %ax, %bp
pushw $49
callw ...
TheCPPNoob
Votes: 0
Answers: 1
String Output in Real-Mode by using LODS instruction
I'm need to write function, which output a string in real-mode.
There is that code:
;; ds:si - string address, cx - length of string
cld
putc:
lods
mov ah, 0x0E
xor bh, bh
int 0x10 ...
SubtRose
Votes: 0
Answers: 1
Binding PIT, PIC and IVT together to get a sleep() function
I have decided to write a small program to check, if I am able to implement a sleep function in a real mode app. Thats, what I did:
Added an IRQ_0 handler function to the address at 0x0000:0x80, corr...
adivanced
Votes: 0
Answers: 1