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

Joined: Aug 2015
Posts: 347
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: 122
Golden Child Offline
Senior Member
Golden Child  Offline
Senior Member

Joined: Feb 2014
Posts: 122


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

Very Senior Member

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

Very Senior Member

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

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

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

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

Joined: May 2012
Posts: 423
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: 93
TSCHAK Offline
Member
TSCHAK  Offline
Member

Joined: Jul 2011
Posts: 93
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: 729
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

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

Page 496 of 504 1 2 494 495 496 497 498 503 504

Who's Online Now
6 registered members (AntoPISA, R. Belmont, sof-max, mixmaster, 2 invisible), 23 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,479
Posts110,299
Members4,770
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.156s Queries: 14 (0.092s) Memory: 5.0316 MB (Peak: 5.2713 MB) Zlib enabled. Server Time: 2018-01-17 20:18:36 UTC