Previous Thread
Next Thread
Print Thread
Page 7 of 8 1 2 3 4 5 6 7 8
Re: Mindset driver? [Re: TSCHAK] #115631 08/04/19 01:10 AM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
. o O (meanwhile, I am banging my head on using BLT COPY and BLT STRING. ... would have thought the machine would have the decency to crash when given incorrect parameters. laugh smile

-Thom

Re: Mindset driver? [Re: TSCHAK] #115633 08/04/19 11:41 AM
Joined: Feb 2014
Posts: 328
G
Golden Child Offline
Senior Member
Offline
Senior Member
G
Joined: Feb 2014
Posts: 328
I came across this article while looking for information about lumena, it's a fun read: (wow, $495 for a paint program, those were the days)

https://archive.org/details/creativecomputing-1985-02/page/n51

Re: Mindset driver? [Re: TSCHAK] #115639 08/05/19 03:04 AM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
Managed to wrangle the BLT COPY call correctly. This example sets up a single call to do 128 BLT COPies of a 16x16 image.

The code:
https://github.com/tschak909/mindset-examples/blob/master/copy/main.c

Running in MAME (notice the pause):
[Linked Image]

Running on actual hardware:
[video:youtube]https://www.youtube.com/watch?v=d6G7HrCC3cI[/video]

Last edited by TSCHAK; 08/05/19 03:06 AM.
Re: Mindset driver? [Re: TSCHAK] #115658 08/07/19 02:31 AM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
There is now a test program for the mouse, which draws a mouse cursor:

https://github.com/tschak909/mindset-examples/blob/master/mouse/main.c

(all of these examples compile with Open Watcom 1.9 btw.)

-Thom

Re: Mindset driver? [Re: TSCHAK] #115670 08/09/19 05:05 AM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
Have discovered a non-critical glitch with the emulation:

When a BLT COPY approaches the edge of the clipping rectangle, it starts to flicker in MAME. This does not happen on the real hardware.

You can see a test case of it in this program:
https://github.com/tschak909/mindset-examples/tree/master/pacman-cutscene

-Thom

Re: Mindset driver? [Re: TSCHAK] #115716 08/17/19 06:53 AM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
In the course of developing the mindset pac-man, I needed to make a tool that wrote data to an off-screen buffer, by resetting the destination buffer, and writing that result to a file, it freezes mid-output in mame, but completes on the real hardware, pasting the code here to pin it for later:
https://gist.github.com/tschak909/c52840360372373157259d4eae210440

I also notice that there is no throttling of blitter operations... larger blitter operations (e.g. trying to blit a 224x200 4bpp bitmap) take longer than a single frame on actual hardware.
https://www.youtube.com/watch?v=rFXcQzN5Eck

-Thom

Re: Mindset driver? [Re: TSCHAK] #115717 08/17/19 09:12 AM
Joined: May 2004
Posts: 1,598
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,598
sounds like you might need to take a more intelligent approach to drawing than just copying a 224x200 bitmap then ;-) this isn't too surprising tbh, it's why back in the day MAME had dirty rectangles etc. because even PC hardware in the late 90s / 2000s couldn't always blit a full page at 60fps (of course that does fall apart once you have scrolling, which is why some ports of games ended up cropping top / bottom rather than scrolling etc.)

but yeah I imagine getting performance metrics out of this thing will be useful for improving the emulation in the end

people have had the same problem with the Virtual Boy amongst others, emulator performance was much, much better than real hardware.

Re: Mindset driver? [Re: TSCHAK] #115718 08/17/19 03:18 PM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
Yup, it's all good. I _really_ want this driver to be good, so I will try to provide as much as I can in terms of test fixtures etc, especially since I have access to running hardware.

This machine is really amazing; a brief glimpse into a slight divergence on the tree of MS-DOS machines that was actually interesting, and easy to program for the enhanced features.

Re: Mindset driver? [Re: TSCHAK] #115731 08/22/19 04:56 AM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
meanwhile...
[Linked Image from i.imgur.com]

-Thom

Re: Mindset driver? [Re: TSCHAK] #115759 08/25/19 05:34 PM
Joined: Jul 2011
Posts: 143
T
TSCHAK Offline OP
Senior Member
OP Offline
Senior Member
T
Joined: Jul 2011
Posts: 143
@OG - I have been regularly pulling git and building with SOURCES=src/mame/drivers/mindset.cpp TOOLS=1 REGENIE=1, and the sound output is still very wrong, vyper's output is much too fast, and is very distorted (and mode 2 sounds do not have their sine mask applied, so the frequencies heard are wrong),

for reference, here is vyper being played from actual hardware.

https://www.youtube.com/watch?v=DUROL6xs3k4

-Thom

Page 7 of 8 1 2 3 4 5 6 7 8

Who's Online Now
3 registered members (belegdol, Dorando, zino), 25 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,692
Posts114,252
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3