BetaArchive Logo
Navigation Home Database Screenshots Gallery Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 15d, 6h, 28m | CPU: 22% | MEM: 5415MB of 11648MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 91 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Fri Jan 25, 2019 10:27 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Feb 24, 2014 10:28 am

Posts
1580

Location
Slovenia

Favourite OS
5111
John Elliott wrote:
I don't think you did send me any files. I've been working purely with IM1024.DRV from V1DSK.ZIP.


I sent you the files I recovered from a broken driver disk for IM640/1024/Cobra, in May last year. Contained drivers, diags, some code samples, I believe.

_________________
Image

KRNL386 - my site about retro computing | My site about Windows 1.0 | My blog | 86Box Manager - my configuration manager for 86Box


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sat Jan 26, 2019 8:21 pm 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
Ah yes, I remember now. I don't think I managed to get anything helpful from the disks though.


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Mon Jan 28, 2019 8:06 am 
Reply with quote
FTP Access
Offline

Joined
Mon Nov 03, 2008 6:15 am

Posts
656

Favourite OS
Windows NT 3.51 build 1057
Overdoze wrote:
John Elliott wrote:
I don't think you did send me any files. I've been working purely with IM1024.DRV from V1DSK.ZIP.


I sent you the files I recovered from a broken driver disk for IM640/1024/Cobra, in May last year. Contained drivers, diags, some code samples, I believe.

can I grab it elsewhere?


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Mon Jan 28, 2019 11:01 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Feb 24, 2014 10:28 am

Posts
1580

Location
Slovenia

Favourite OS
5111
Not really, since the images were given to me directly by the owner of the floppies. But you can download the original broken images here, and the ones with files I managed to recover here.

_________________
Image

KRNL386 - my site about retro computing | My site about Windows 1.0 | My blog | 86Box Manager - my configuration manager for 86Box


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Mon Jan 28, 2019 3:59 pm 
Reply with quote
FTP Access
Offline

Joined
Mon Nov 03, 2008 6:15 am

Posts
656

Favourite OS
Windows NT 3.51 build 1057
John Elliott wrote:
John Elliott wrote:
So without firmware dumps, what an emulator writer would have to do is a high-level emulation, parsing PGC-style commands written to the controller and translating them into drawing operations. And work out what all the extra commands are that are in the IM1024 but not the original PGC.


I think I can just about manage text, rectangles and the mouse pointer. Crashes more often than not, though, and visual glitches everywhere.

Image

Those are jolly big scrollbars. I wonder if they're like that on real hardware?

maybe font issue? im1024 uses bigger system font.


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Mon Jan 28, 2019 4:00 pm 
Reply with quote
FTP Access
Offline

Joined
Mon Nov 03, 2008 6:15 am

Posts
656

Favourite OS
Windows NT 3.51 build 1057
Overdoze wrote:
Not really, since the images were given to me directly by the owner of the floppies. But you can download the original broken images here, and the ones with files I managed to recover here.


oh thanks. BTW there is a site that claims to have this set of disks, but requiring donation in order to download: www dot retrocomputing dot org/cgi-bin/sitewise.pl?act=det&pt=1028&p=1030&id=retroorg


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Mon Jan 28, 2019 5:28 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Feb 24, 2014 10:28 am

Posts
1580

Location
Slovenia

Favourite OS
5111
It's the same broken disk I got.

_________________
Image

KRNL386 - my site about retro computing | My site about Windows 1.0 | My blog | 86Box Manager - my configuration manager for 86Box


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Tue Feb 26, 2019 1:48 am 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
I haven't got round to filled polygons so the Calculator buttons don't draw, and though it's more stable I'm still getting lockups, but the IM1024 isn't looking too bad now:

Image


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Thu Feb 28, 2019 11:00 pm 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
OK, I think that's squashed all the crashes and visual glitches, or at least the ones I can find. PCEM patch submitted.

Let's have this one in the Windows 1.x standard colour scheme for a change:

Image

I think we can now say that the thread title has been answered: Yes, Windows 1.0x can have 256 colours.


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Fri Mar 01, 2019 4:32 am 
Reply with quote
FTP Access
Offline

Joined
Mon Nov 03, 2008 6:15 am

Posts
656

Favourite OS
Windows NT 3.51 build 1057
John Elliott wrote:
OK, I think that's squashed all the crashes and visual glitches, or at least the ones I can find. PCEM patch submitted.

Let's have this one in the Windows 1.x standard colour scheme for a change:

Image

I think we can now say that the thread title has been answered: Yes, Windows 1.0x can have 256 colours.

Cool! Thanks for your effort!


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Fri Mar 01, 2019 8:56 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Feb 24, 2014 10:28 am

Posts
1580

Location
Slovenia

Favourite OS
5111
Pretty amazing. I'll have to try this out soon. :)

_________________
Image

KRNL386 - my site about retro computing | My site about Windows 1.0 | My blog | 86Box Manager - my configuration manager for 86Box


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Fri Mar 01, 2019 10:13 am 
Reply with quote
FTP Access
Offline

Joined
Sat Oct 20, 2018 11:37 am

Posts
460
Is it done? Where can I download the PCEM patch?


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Fri Mar 01, 2019 12:46 pm 
Reply with quote
FTP Access
Offline

Joined
Mon Nov 03, 2008 6:15 am

Posts
656

Favourite OS
Windows NT 3.51 build 1057
ComputerHunter wrote:
Is it done? Where can I download the PCEM patch?

https://pcem-emulator.co.uk/phpBB3/view ... 816#p11816
you have to patch it manually and recompile


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Fri Mar 01, 2019 11:32 pm 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
If you downloaded my 'final' patch, it turned out to be not so final - I've now done another one which fixes various issues (one of which was visible on my last screenshot; the BULLSEYE test app shouldn't have had those white outlines).

Most of the other fixes were to support Micrografx In*a*Vision, which hammers the polygon functionality pretty hard:
Image


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sat Mar 02, 2019 3:54 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Sat Aug 19, 2006 8:13 am

Posts
2006

Location
Slovenia, Central Europe.

Favourite OS
Windows 98 SE 4.10.2222B
The colors of the scroll bar buttons seem to be inverted compared to those in a magazine screenshot, is this normal?

_________________
Join #softhistory @ RoL IRC, a nice community for true enthusiasts!
Anime channel: #doki-doki @ RoL IRC, Mibbit, KiwiIRC.
The 86Box help channel is #softhistory now!

Check out our SoftHistory Forum for quality discussion about older software.


Top  Profile  WWW  ICQ  YIM
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sat Mar 02, 2019 6:57 pm 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
The resource bitmaps are inverted compared to those in the other Windows 1.03 drivers I've seen. For example, bitmap 1 is the right scrollbar arrow, and in the EGA driver it's like this:
Code:
Version: 0x0002
Type: 0x0000
Width: 0x0014
Height: 0x000d
BitmapW: 0x0004
Depth: 0x01
Planes: 0x01
Reserved: 0x00000000
Bitmap: #################### \
        #################### \
        ###########-######## \
        ###########--####### \
        ###########---###### \
        ####-----------##### \
        ####------------#### \
        ####-----------##### \
        ###########---###### \
        ###########--####### \
        ###########-######## \
        #################### \
        ####################

In IM1024.DRV it looks like this:
Code:
Version: 0x0002
Type: 0x0000
Width: 0x0024
Height: 0x0018
BitmapW: 0x0006
Depth: 0x01
Planes: 0x01
Reserved: 0x00000000
Bitmap: ------------------------------------ \
        ------------------------------------ \
        ----------------##------------------ \
        ----------------####---------------- \
        ----------------######-------------- \
        ----------------########------------ \
        ----------------##########---------- \
        ----------------############-------- \
        --############################------ \
        --##############################---- \
        --################################-- \
        --################################## \
        --################################## \
        --################################-- \
        --##############################---- \
        --############################------ \
        ----------------############-------- \
        ----------------##########---------- \
        ----------------########------------ \
        ----------------######-------------- \
        ----------------####---------------- \
        ----------------##------------------ \
        ------------------------------------ \
        ------------------------------------


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sun Mar 03, 2019 9:43 am 
Reply with quote
FTP Access
Offline

Joined
Sat Oct 20, 2018 11:37 am

Posts
460
I never used .patch file and I can't even find the source code... Could somebody please upload a compiled version or the full patched source code.


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sun Mar 03, 2019 5:48 pm 
Reply with quote
Offline

Joined
Wed Nov 14, 2018 8:57 pm

Posts
38

Location
Puntarenas, Costa Rica

Favourite OS
Myself v.1.1887.0079
ComputerHunter wrote:
I never used .patch file and I can't even find the source code... Could somebody please upload a compiled version or the full patched source code.


We can't discuss nor provide links to source code on BetaArchive.

_________________
Alejandro J. Herrera Barboza, 16, from Costa Rica


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sun Mar 03, 2019 7:29 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Sat Aug 19, 2006 8:13 am

Posts
2006

Location
Slovenia, Central Europe.

Favourite OS
Windows 98 SE 4.10.2222B
We certainly can discuss and provide links to source code of open-source programs such as PCem, 86Box QEmu, Bochs, DOSBox, etc. The prohibition concerns leaked source codes of proprietary products.

_________________
Join #softhistory @ RoL IRC, a nice community for true enthusiasts!
Anime channel: #doki-doki @ RoL IRC, Mibbit, KiwiIRC.
The 86Box help channel is #softhistory now!

Check out our SoftHistory Forum for quality discussion about older software.


Top  Profile  WWW  ICQ  YIM
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sun Mar 03, 2019 9:15 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Wed Feb 23, 2011 12:11 am

Posts
3528

Location
Italy

Favourite OS
Windows, OS/2, DOS
John Elliot, Write.exe seems to be heavily messed up with this driver or does the emulation need more work for it?

_________________
http://forum.softhistory.org


Top  Profile  WWW
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sun Mar 03, 2019 11:40 pm 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
Write worked for me, but I only had the system font installed. Installing the other fonts sends things haywire - the instruction stream loses sync at a TDEFIN.

Ah, I've got the 'rows' and 'columns' parameters round the wrong way, so it can't cope with characters that aren't square :$

Regarding PCEM: Although the GPL allows it, Sarah Walker has asked that development builds shouldn't be made publicly available. So if you can't build it from source yourself you're a bit stuck.

There's a build guide for MSYS2 here. Once you've got it building from source, you should be able to install patch:

Code:
pacman -S patch

and then run it on the tree:
Code:
patch -p1 < im1024_4.patch


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Mon Mar 04, 2019 8:48 am 
Reply with quote
FTP Access
Offline

Joined
Sat Oct 20, 2018 11:37 am

Posts
460
Is there a Visual Studio 2008 version? I don't know how to compile anything else and makes it impossible without the source code... I don't even know what language is it in without even having a look at the source code and I bet it can't be compiled through Visual Studio 2008.

If it is for Visual Studio 2013 or 2017, I can't compile either because I don't have that version and can't afford to download 10 GB thing just for compiling an app.


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Sat Mar 16, 2019 7:04 pm 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Feb 24, 2014 10:28 am

Posts
1580

Location
Slovenia

Favourite OS
5111
John Elliott wrote:
Write worked for me, but I only had the system font installed. Installing the other fonts sends things haywire - the instruction stream loses sync at a TDEFIN.

Ah, I've got the 'rows' and 'columns' parameters round the wrong way, so it can't cope with characters that aren't square :$


Not sure if you already knew this, but the Device Driver Library disk 1 that contains the IM1024 driver also has a specific font for it, VMILO.FON. When you replace the default LOFONTS.FON file with it and install Windows with the IM1024 driver, you get this:

ImageImage

I guess the text is meant to be larger, which matches the photo in PC Mag, but the characters themselves aren't actually scaled. I'm not sure if this is an issue with my particular environment (config+driver) or emulation? For some reason, only disabled text is scaled like one would expect.

EDIT: I've tried to add some test programs into the disk image, and that apparently broke it further, now no text (other than the scaled disabled one) is rendering at all.

_________________
Image

KRNL386 - my site about retro computing | My site about Windows 1.0 | My blog | 86Box Manager - my configuration manager for 86Box


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Tue Mar 19, 2019 2:00 am 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
Looking at the logs, it's not trying to define the font bitmaps, and it's drawing text using command 88h. Hypothesis: that font is assumed to be defined by the IM1024's ROM and doesn't need loading with TDEFIN. Therefore letters only get drawn when the software rendering path is used (for example, for greyed text).

So first task is to get the bitmaps out of VMILO.FON and into PCEM...


Top  Profile
 PostPost subject: Re: Can Windows 1.0x have 256 colors?        Posted: Tue Mar 19, 2019 3:04 am 
Reply with quote
Offline

Joined
Thu Aug 25, 2011 7:46 pm

Posts
71

Favourite OS
Ubuntu 10.04.3 LTS
New patch submitted. And with the 12x18 system font, the scrollbars now don't look oversized:

Image


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 91 posts ]  Go to page Previous  1, 2, 3, 4  Next




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2019

 

Sitemap | XML | RSS