| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Direct memory access using emx/gcc |
04 Apr 96 00:18, Paul Edwards wrote to andrew clarke: ac>> screen width), B800:0000H (color screen text display), and so ac>> forth. Thanks. > With either Watcom or EMX (can't remember), to access screen memory, > you just go: > char *p = 0xb8000; char *p = (char *) 0xb8000; That's for Watcom & DOS4GW. I get a core dump if I try to access data pointed to by p with an EMX program running under DOS: process 2 get hardware fault 13 (general protection) at 1004D writing core file Process terminated by SIGSEGV I think I need to access a DOSX selector or something, but don't have any details about EMX's DOS extender. (shrug) --- Msgedsq/2 3.30* Origin: Blizzard of Ozz, Melbourne, Australia (3:635/727.4{at}fidonet) SEEN-BY: 50/99 78/0 620/243 623/630 632/349 635/503 544 727 637/106 711/401 SEEN-BY: 711/409 410 413 430 808 809 932 934 712/515 713/888 714/906 800/1 SEEN-BY: 7877/2809 @PATH: 635/727 544 50/99 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™.