Previous Thread
Next Thread
Print Thread
Page 2 of 14 1 2 3 4 13 14
Joined: Jan 2012
Posts: 1,160
Likes: 6
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,160
Likes: 6
Sandro Ronco completely revamped the DMV driver in r31661 and implemented the bus system and the first modules - and it's amazing! Thanks Sandro!

Apart from CP/M-80, now CP/M-86 and MS-DOS 2.11 also boot.

There's a caveat with MS-DOS: It boots if there's no memory module selected, with 64K of system memory



If a memory module is inserted in slot1, the BIOS does the memory test on the bottom of the screen, then boots into MS-DOS (recognizing the added memory, see line 3) but hangs shortly after this point ...



showing a cursor below the "Command v. 2.11" message you can see in the first screenshot.

I have to end MESS with Windows Task Manager at this point.

One thing that happens uniformly across all operating systems is, that if text scrolls off the screen, the driver freezes. To replicate you simply boot into an OS and repeatedly DIR the contents of the disk. Or you leave ladder (here on CP/M-86) and DIR ...



This condition is non-lethal though, you can reset the emulation with F3 if you're in partial keyboard mode.

Sandro even put the graphics portion in, and running DEMO5 shows this colorful jumbled picture



It seems that most of the items on the To-Do list for the upd7220 driver apply here, because this showcase program for the DMV made heavy use of the features - the machine was touted as highly graphics capable.

I want to thank not only Sandro for his work on the driver but all MESS devs - when I uploaded the first files 2 1/2 years ago, a lot of this wouldn't have been possible - the bus system, slots, CPU and Floppy controller refinements (or rewrites) all came afterwards. It's brilliant!

Robert


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Jan 2012
Posts: 1,160
Likes: 6
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,160
Likes: 6
Another milestone, thanks to Sandro: cool The latest changes to the upd7220 driver now permit scrolling, the emulated machine no longer freezes when the end of the screen is reached.

This also makes it possible to run WordStar in all three emulated operating systems, warts and all - I have set the keyboard to German, and this converts the | character in the menu's ASCII frames to "" just like on the real machine.



The distinction between mono and color isn't made yet, even though the machine is configured as mono, the text is shown in different colours instead of highlights/bold text.

Does anyone know if the upd7220 in Toshiya Takeda's emulator is more fleshed out than the MESS driver? He seems to base his work on MAME/MESS, but comparing licenses (and source code) isn't my forte.

http://homepage3.nifty.com/takeda-toshiya/



NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Mar 2001
Posts: 16,914
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,914
Likes: 56
The scrolling problems (which did not only affect the DMV) were a real bug in the 7220 emulation; the fix also fixes multiple systems. Now is not the time to panic and call for ripping out the 7220 :P

Joined: Jan 2012
Posts: 1,160
Likes: 6
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,160
Likes: 6
Hmm ... I was thinking more along the lines of "gently assimilating code" than panicking wink


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Jan 2012
Posts: 881
Likes: 10
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 881
Likes: 10
On the topic of upd7220 bugs, one of the compis graphics demos looks like this.


Looks almost like some lines are being drawn backwards. Scrolling in msdos also doesn't work.

rfka01: Assimilation likely would be harder than just fixing ours as his code is much narrower in scope (he only needs the QX10, PC9801, N5200 and MZ-3500 to work).

Last edited by crazyc; 08/25/14 08:35 PM.
Joined: Mar 2001
Posts: 16,914
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,914
Likes: 56
The 7220 doesn't know the DMV has a mono/color switch or have any way to handle it; the errors you seek are calling from inside the DMV driver.

Joined: Jan 2012
Posts: 1,160
Likes: 6
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,160
Likes: 6
I was hoping that Takeda had addressed some of the shortcomings of the graphics portion of the 7220 driver, e.g. arcs (used to draw circles), there is also mention of "honoring the viewing area" which I think might be connected to the strange tear and shift you can see in post #99542.

Anyway, don't count my post as nagging, I'm only trying to find resources - I'm more than happy and grateful with all the progress as I've said before.

Last edited by rfka01; 08/25/14 08:39 PM.

NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Mar 2006
Posts: 1,073
Likes: 5
L
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,073
Likes: 5
The upd7220 has a decap btw, if anyone wants to trace it out.
Also, theres a patent on how the bresenham curve/arc algorithm on it works, which may explain the 'mask PLA' on the die.

LN


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Joined: Jan 2012
Posts: 1,160
Likes: 6
rfka01 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Jan 2012
Posts: 1,160
Likes: 6
LN is this what you're talking about?


https://dl.dropbox.com/u/55419307/%C2%B5PD7220.zip

In 2013 Olivier Galibert sent me the dieshot and I did a first step to convert it.

I wrote then

Quote:
Hi Olivier,

this is an archive containing two files with my efforts about the PD7220.
The Excel file has the values as we discussed them in the shoutbox last Thursday - the cells marked in yellow should be extra double checked smile
The Powerpoint file has the "legend", I have marked the regions I have transcribed as they appear in the Excel file, so not too much work is lost, should I be off by one or more rows or columns.

I can put the binary values into a file if you tell me how to group them, i.e. four excel cells across one row into a single byte.


Robert


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
Joined: Jun 2001
Posts: 473
O
Senior Member
Offline
Senior Member
O
Joined: Jun 2001
Posts: 473
Originally Posted By Lord Nightmare
The upd7220 has a decap btw, if anyone wants to trace it out.


Annoyingly, the active is invisible under the metal...

OG.

Page 2 of 14 1 2 3 4 13 14

Link Copied to Clipboard
Who's Online Now
0 members (), 17 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,089
Posts119,131
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com