flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > How to access I/O PORT, such as Printer/Serial port?

Author
Thread Post new topic Reply to topic
dsp2x



Joined: 26 Dec 2003
Posts: 8
dsp2x 20 Mar 2004, 08:25
Is there any simple way to go? such as PORTIO under Windows...

How fast anyone already got it?

By the use of TERMINAL demo program, I got 10ms delay, that's MenuetOS's 1/100s round time. How can I improve it?

Many thanks for any help...


Last edited by dsp2x on 28 Mar 2004, 15:11; edited 1 time in total
Post 20 Mar 2004, 08:25
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 308
Ville 20 Mar 2004, 09:47
dsp2x wrote:
Is there any simple way to go? such as WinIO under Windows...
How fast anyone already got it?
By the use of TERMINAL demo program, I got 10ms delay, that's MenuetOS's 1/100s round time. How can I improve it?
Many thinks for any help...


What Menuet version are you using ?
Post 20 Mar 2004, 09:47
View user's profile Send private message Reply with quote
dsp2x



Joined: 26 Dec 2003
Posts: 8
dsp2x 21 Mar 2004, 04:44
I use m076p50, it seems MeOS begin to offer safety I/O

I hope MeOS can be a hardware enginners friendly OS, only because I'm a hardware enginner, ^_^

Thanks for you great work, and to all the developers
Post 21 Mar 2004, 04:44
View user's profile Send private message Reply with quote
compilax



Joined: 18 Feb 2004
Posts: 56
compilax 21 Mar 2004, 04:57
Cool, a hardware engineer Smile.

Imagine buying a modem - little windows logo, a penguin, and then a 'MenuetOS friendly' sticker too and a MeOS driver on the CD =). Or an SBC with 'MenuetOS on ROM' written onto it =) a PDA?. I can dream of a thousand products =).

If you are an asm programmer, i think theres some info about IO ports in SYSFUNCTS.TXT.

'Menuet Inside' =)
Post 21 Mar 2004, 04:57
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
dsp2x



Joined: 26 Dec 2003
Posts: 8
dsp2x 21 Mar 2004, 12:46
You say right, Sir....

I didn't like complex OS, nor simple but poor graphic ability

Complex OS mean hard work, poor looking mean no one will like what else I do..., so, I like MeOS

hehe,...I'll try to build a digiscope, a PDA like scope, or a scope like PDA, that's my dreem. I need speed, speed mean real time waveform or wavedata I can process...hehe
Post 21 Mar 2004, 12:46
View user's profile Send private message Reply with quote
dsp2x



Joined: 26 Dec 2003
Posts: 8
dsp2x 03 Apr 2004, 09:21
Thanks to the new version, thanks to all developers
Post 03 Apr 2004, 09:21
View user's profile Send private message Reply with quote
Matt



Joined: 15 Feb 2004
Posts: 23
Matt 22 Apr 2004, 02:29
We now have control of our PLC modules and CNC machine working off Lpt1 and Lpt2.


Fantastic OS.

Sure are having good times making things work with Menuet.


The lights ! They are blinking !! Yippie. Yahooo.

Laughing

_________________
Better computing with a better OS "Menuet"
Post 22 Apr 2004, 02:29
View user's profile Send private message Reply with quote
t jip mc



Joined: 30 Jul 2005
Posts: 4
t jip mc 31 Jul 2005, 00:19
jep,
i made some serrial drivers for menuet its a side produkt of my work,

the delay is okay but we have to read each byte for the bits and than doing some delay time between the bits than calculating the time.

Its mostly used by lcd driver written in asm but its hard to find some good source stuff about that.

I will post my source soon. Suggestings about serial and IR interface and even LCD display driver are welcome

thanks and keep going with that OS there should be more work on tex editors and stuff like that for faster coding.
Post 31 Jul 2005, 00:19
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 31 Jul 2005, 14:29
What is this LCD you speak of?
Post 31 Jul 2005, 14:29
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1166
Location: Overflow
Matrix 31 Jul 2005, 15:03
hmm
download the LCD datasheet and you will know how to program it,
comrade: LCD is liquid crystal display,
usually used with microcontrollers.
google on http://www.google.co.hu/search?q=HD+LCD+hitachi+2x16&btnG=Keres%C3%A9s&hl=hu
or
http://www.google.co.hu/search?hl=hu&q=%22Hitachi+HD+44780%22&btnG=Keres%C3%A9s&meta=

btw to the topic question:
MEOS doesnt allow direct i/o?
Code:
in al,dx
out dx,al
    
Post 31 Jul 2005, 15:03
View user's profile Send private message Visit poster's website Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 31 Jul 2005, 15:19
yes, what kind of LCD? what model/brand?
Post 31 Jul 2005, 15:19
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 308
Ville 31 Jul 2005, 17:01
Menuet allows direct IO. You must first enable it. See file rtdata.asm at floppy.
Post 31 Jul 2005, 17:01
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.