flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Hard real-time data fetch?

Author
Thread Post new topic Reply to topic
dsp2x



Joined: 26 Dec 2003
Posts: 8
dsp2x 11 Apr 2004, 12:45
WinCE is Soft real-time......

Dose hard real-time data fetch -- mean -- MenuetOS use interrupt serviced I/O?

If any one out there do this before, please drop some words or lines, especially on RS-232 or Printer port

thanks a lot
Post 11 Apr 2004, 12:45
View user's profile Send private message Reply with quote
bloglite



Joined: 21 Feb 2004
Posts: 109
Location: East Tennessee U.S.A.
bloglite 11 Apr 2004, 14:13
Bingo ! Answers needed.

Exactly what syntax and code is required for

1. identification of active port addresses LPT and COM
2. activation of ports & interrupts.
3. reading a byte from the printer or com port
4 writing a byte to the printer or com port.

an example would be appreciated.
Post 11 Apr 2004, 14:13
View user's profile Send private message Visit poster's website Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 308
Ville 12 Apr 2004, 05:09
dsp2x wrote:
WinCE is Soft real-time......

Dose hard real-time data fetch -- mean -- MenuetOS use interrupt serviced I/O?

If any one out there do this before, please drop some words or lines, especially on RS-232 or Printer port

thanks a lot


I added an example for communicating with a device to pre 5.1g - rtdata.asm.

In short, Menuet has real-time interrupt handlers in kernel to read data ( definable by app ) from device at irq, which also triggers an event for application to respond.
Post 12 Apr 2004, 05:09
View user's profile Send private message Reply with quote
dsp2x



Joined: 26 Dec 2003
Posts: 8
dsp2x 19 Apr 2004, 02:31
Thank you, Ville,

Thanks for your Directly_Working_Sample_Code, RTDATA.ASM.

RTDATA.ASM is very close to my need, and I think all other PORT will be the same way to GetIn&SendOut.

Thank you again for your kind help, and for your contributions to this fairyland.



Mark
ShenZhen.China
Post 19 Apr 2004, 02:31
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.