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

Joined: Aug 2015
Posts: 319
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: 59
Golden Child Offline
Member
Golden Child  Offline
Member

Joined: Feb 2014
Posts: 59


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,710
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,710
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,710
R. Belmont Online content
R. Belmont  Online Content

Very Senior Member

Joined: Mar 2001
Posts: 15,710
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: 408
shattered Offline
Senior Member
shattered  Offline
Senior Member

Joined: May 2012
Posts: 408
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: 408
shattered Offline
Senior Member
shattered  Offline
Senior Member

Joined: May 2012
Posts: 408
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: 156
Al Kossow Offline
Senior Member
Al Kossow  Offline
Senior Member

Joined: Jan 2011
Posts: 156
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: 408
shattered Offline
Senior Member
shattered  Offline
Senior Member

Joined: May 2012
Posts: 408
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

Page 496 of 496 1 2 494 495 496

Who's Online Now
8 registered members (crazyc, Vas Crabb, Stiletto, Dorando, Pernod, R. Belmont, Reznor007, 1 invisible), 14 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,412
Posts108,941
Members4,757
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.087s Queries: 16 (0.059s) Memory: 5.0127 MB (Peak: 5.2528 MB) Zlib enabled. Server Time: 2017-09-25 14:56:37 UTC