Previous Thread
Next Thread
Print Thread
Page 496 of 499 1 2 494 495 496 497 498 499
#110660 - 08/25/17 08:47 AM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: Aug 2015
Posts: 334
Edstrom Offline
Senior Member
Edstrom  Offline
Senior Member

Joined: Aug 2015
Posts: 334
So what is the hack really? MAME listening on a virtual serial or parallell port?

#110661 - 08/25/17 12:20 PM Re: SVN builds - new driver flood [Re: Edstrom]  
Joined: Feb 2014
Posts: 94
Golden Child Offline
Member
Golden Child  Offline
Member

Joined: Feb 2014
Posts: 94


It's a "dummy centronics" driver that opens a linux named pipe and sends it directly to the ap2000 driver. In the code it's "/dev/lp0" but you could change that to any filename and just mkfifo. When I was fiddling with it, I changed it to a "lp0" filename in my directory.

It's really slick in that you can send it data from any linux application, like doing stuff from the command line: echo "hello" > /dev/lp0



+ const char *fname = "/dev/lp0";
+
+ m_pipe = open(fname, O_RDONLY | O_NONBLOCK);
+ m_keepalive = open(fname, O_WRONLY | O_NONBLOCK);
+ m_fp = fdopen(m_pipe, "r");

#110662 - 08/25/17 01:22 PM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: Mar 2001
Posts: 15,752
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,752
USA
That's *really* cool. It would be useful to support some method of input from other apps like that for pretty much the reason demonstrated smile

#110663 - 08/25/17 01:24 PM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: Mar 2001
Posts: 15,752
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,752
USA
One more on the China Education Computer: the built-in LOGO works, and I drew a terrible approximation of a sine wave with it smile Thanks to Naibo for translation assistance!

[Linked Image]

#110673 - 08/26/17 07:48 PM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: May 2012
Posts: 419
shattered Offline
Senior Member
shattered  Offline
Senior Member

Joined: May 2012
Posts: 419
ASCII animations (Twilight Zone, Outer Limits) playing in VT240 emulation. I had to add XON/XOFF flow control support to null_modem -- with hardware control, firmware misbehaves and sets baud rate 1200 for some reason -- offending code is the MOV:

Code
023410: BITB  #$01,$30(R3)
023416: BEQ   $2716
023420: MOV   #$0066,R0		<--
023424: BR    $2744
023504: MOVB  R0,-$4(R4)


https://www.youtube.com/watch?v=sCI6-LXqz3M

#110676 - 08/27/17 12:48 PM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: May 2012
Posts: 419
shattered Offline
Senior Member
shattered  Offline
Senior Member

Joined: May 2012
Posts: 419
Chromatics CGC 7900 is a bit less skeletal now:

[Linked Image]

#110677 - 08/27/17 03:21 PM Re: SVN builds - new driver flood [Re: shattered]  
Joined: Jan 2011
Posts: 161
Al Kossow Offline
Senior Member
Al Kossow  Offline
Senior Member

Joined: Jan 2011
Posts: 161
yay!

now, if someone can just find some floppy software for it

i've come up empty.

#110678 - 08/27/17 04:15 PM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: May 2012
Posts: 419
shattered Offline
Senior Member
shattered  Offline
Senior Member

Joined: May 2012
Posts: 419
It works as terminal, at least.

+ found disk controller doc at http://z80cpu.eu/mirrors/oldcomputers.dyndns.org/public/pub/manuals/omti10a.pdf

#110681 - 08/29/17 02:50 AM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: Jul 2011
Posts: 91
TSCHAK Offline
Member
TSCHAK  Offline
Member

Joined: Jul 2011
Posts: 91
a CGC-7900 ?! _WOW_! smile

#110872 - 09/27/17 01:25 AM Re: SVN builds - new driver flood [Re: Anna Wu]  
Joined: Jan 2012
Posts: 688
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

Joined: Jan 2012
Posts: 688
That's a bare bones Unix.
[Linked Image]

Page 496 of 499 1 2 494 495 496 497 498 499

Who's Online Now
5 registered members (Luengo, Breiztiger, Duke, Dam0, sof-max), 18 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,436
Posts109,391
Members4,764
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.098s Queries: 14 (0.070s) Memory: 5.0284 MB (Peak: 5.2754 MB) Zlib enabled. Server Time: 2017-11-19 10:42:03 UTC