Computing.Net > Forums > Programming > Free Pascal & Hardware ports

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Free Pascal & Hardware ports

Reply to Message Icon

Name: Banfield
Date: October 7, 2008 at 07:07:35 Pacific
OS: DOS 7.10
CPU/Ram: 80486/120MHz/16Mb
Product: UMC
Comment:

Hi all guy´s. I am new in this sector of this forum. I want to know if anyboby can help me for how to write an hexa value directly to a port (IE, the $61h for enable the PC speaker) in Pascal. I learned Pascal so years ago, and I don´t rememeber how to do it, and if it is possible.
Very Thanks.
Osvaldo. Barrio Garay. Almirante Brown Buenos Aires Argentina.

If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong.



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: October 7, 2008 at 14:05:48 Pacific
Reply:

Take a look at Calling ROM/BIOS and Ports directly - Speaker Control at

http://www.merlyn.demon.co.uk/pas-e...

In short words that is an implementation of the Port built-in array. This is aimed to Borland Pascal but it should work for FreePascal too.


0

Response Number 2
Name: Banfield
Date: October 8, 2008 at 05:33:22 Pacific
Reply:

Ok, thanks. These page is very intresting

If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Free Pascal & Hardware ports

Hardware Ports www.computing.net/answers/programming/hardware-ports/677.html

Pascal - Keyboard port number ???? www.computing.net/answers/programming/pascal-keyboard-port-number-/1556.html

Using Exec() in Pascal... www.computing.net/answers/programming/using-exec-in-pascal/10915.html