TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Dann Lunsford
from: David Johnson
date: 1994-08-21 18:19:44
subject: Asm In Os/2

DL> People, I am having a problem getting a VERY small assenbler program running
DL> under OS/2, and I can't for the life of me figure out why.  Here's the code 
DL> as of latest incarnation (BTW, the purpose is to reprogram the DMA control 
DL> timing in the SYMPHONY chipset, so my PAS-16 will work.  Yes, I know I could
DL> do this from DOS, but it's become an obsession...).  Using
DL> MASM 6.0a.  All I get is an access violation before the program even
starts, so
DL> I must be doing something VERY wrong.

It has to be compiled to run in RING 0, you are running it in ring 3
where it is an obvious exception, this probably should be a device
driver that goes away..

 * KWQ/2 1.2e NR * PATH=C:\DOS;C:\DOS\RUN;C:\WIN\CRASH\DOS;C:\DAD\DEL\WIN

--- QScan v1.067b


* Origin: Programmer's Guild BBS, Hamilton, Ont. (1:244/317)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 712/353 623 713/888 800/1
@PATH: 244/317 300 99 12/12 270/101 396/1 3615/50 229/2 12/2442
@PATH: 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.