| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | VioGetPhysBuf |
DS> zeroed in on your VioGetPhysBuf. With the exception of DS> forming the pointer manually rather than through a DS> macro it is essentially the same. So I now have 4 Perhaps I am just showing my inexperience with nonlinear addressing, 3 years of C cobwebs and rust, or just plain being naive... but shouldn't the following two pieces of code generate the same result ? The first one (based on the example you posted) works, the second (very similar to the MAKEP macro) does not. ptr1616 = (void * _Seg16) ( phys.asel[0] << 16 ); VGARAMptr = (void *) ptr1616; VGARAMptr = (void *) ((void * _Seg16) ( phys.asel[0] << 16 )); --- Maximus/2 3.00* Origin: PowerHouse Point, Burnaby, BC - 604-431-4569/9365 - (1:153/894) SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 153/894 7070 3615/50 396/1 270/101 712/515 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™.