Previous Thread
Next Thread
Print Thread
Page 496 of 514 1 2 494 495 496 497 498 513 514
Re: SVN builds - new driver flood [Re: Anna Wu] #110660
08/25/17 08:47 AM
08/25/17 08:47 AM
Joined: Aug 2015
Posts: 356
Edstrom Offline
Senior Member
Edstrom  Offline
Senior Member
Joined: Aug 2015
Posts: 356
So what is the hack really? MAME listening on a virtual serial or parallell port?

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


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");

Re: SVN builds - new driver flood [Re: Anna Wu] #110662
08/25/17 01:22 PM
08/25/17 01:22 PM
Joined: Mar 2001
Posts: 15,966
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 15,966
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

Re: SVN builds - new driver flood [Re: Anna Wu] #110663
08/25/17 01:24 PM
08/25/17 01:24 PM
Joined: Mar 2001
Posts: 15,966
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 15,966
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]

Re: SVN builds - new driver flood [Re: Anna Wu] #110673
08/26/17 07:48 PM
08/26/17 07:48 PM
Joined: May 2012
Posts: 466
S
shattered Offline
Senior Member
shattered  Offline
Senior Member
S
Joined: May 2012
Posts: 466
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

Re: SVN builds - new driver flood [Re: Anna Wu] #110676
08/27/17 12:48 PM
08/27/17 12:48 PM
Joined: May 2012
Posts: 466
S
shattered Offline
Senior Member
shattered  Offline
Senior Member
S
Joined: May 2012
Posts: 466
Chromatics CGC 7900 is a bit less skeletal now:

[Linked Image]

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

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

i've come up empty.

Re: SVN builds - new driver flood [Re: Anna Wu] #110678
08/27/17 04:15 PM
08/27/17 04:15 PM
Joined: May 2012
Posts: 466
S
shattered Offline
Senior Member
shattered  Offline
Senior Member
S
Joined: May 2012
Posts: 466
It works as terminal, at least.

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

Re: SVN builds - new driver flood [Re: Anna Wu] #110681
08/29/17 02:50 AM
08/29/17 02:50 AM
Joined: Jul 2011
Posts: 94
T
TSCHAK Offline
Member
TSCHAK  Offline
Member
T
Joined: Jul 2011
Posts: 94
a CGC-7900 ?! _WOW_! smile

Re: SVN builds - new driver flood [Re: Anna Wu] #110872
09/27/17 01:25 AM
09/27/17 01:25 AM
Joined: Jan 2012
Posts: 782
C
crazyc Offline
Senior Member
crazyc  Offline
Senior Member
C
Joined: Jan 2012
Posts: 782
That's a bare bones Unix.
[Linked Image]

Page 496 of 514 1 2 494 495 496 497 498 513 514

Who's Online Now
1 registered members (Stiletto), 32 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,555
Posts111,753
Members4,801
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.168s Queries: 14 (0.137s) Memory: 5.7346 MB (Peak: 5.9569 MB) Zlib enabled. Server Time: 2018-07-21 01:41:39 UTC