| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Door games using Pascal |
JB> Does anyone know if it's possible to port a DOS door game, written in JB> Borland Pascal, over to OS/2? In other words, is there an OS/2 Pascal JB> compiler available capable of writing an OS/2 door game, and is there any JB> info available on how to talk to the comm ports, do carrier detect, etc, JB> under OS/2? Using Virtual Pascal you could survive the port with little modifications to the actual game if you designed your game for portability in the first place. I.e. if you placed the comm routines separate from the rest. There is quite a lot of info around there for programming OS/2 comm ports. The first doc you'd want to have a look at is the SIOREF.TXT in Ray Gwinn's SIO driver package (newest version 1.53, SIO153.ZIP). It contains easy-to-read docs about controlling the comm port. Basically, OS/2 comm ports are programmed as follows: - open the comm port as a file name "COMx" (where x is the number of the port) to obtain a handle for the comm port, or, in the case of door games, grab the handle from the dropfile or command line and use that - use the IOCTL interface to change the comm port settings, if necessary - write & read stuff to/from the port - close the comm port as an ordinary file (not necessary for door games) -Mikko [Team OS/2, OS/2 Usergroup Finland, OS/2 DAP] ... It's Ensign Clampett. He's Jed, Jim! --- GoldED/2 2.50 UNREG* Origin: Savage Garden (2:229/229.5) SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 229/229 0 220/841 201/2104 109/347 18 13/25 396/1 270/101 712/515 @PATH: 711/808 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™.