BetaArchive
https://www.betaarchive.com/forum/

Can Windows 1.0x have 256 colors?
https://www.betaarchive.com/forum/viewtopic.php?f=59&t=37962
Page 3 of 4

Author:  Overdoze [ Tue Mar 19, 2019 7:44 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Awesome, thanks. :)

Author:  roytam1 [ Wed Mar 20, 2019 2:07 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

John Elliott wrote:
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...

freetype doesn't like VMILO.FON, so how to extract font bitmap from it?

Author:  John Elliott [ Wed Mar 20, 2019 8:29 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

I used PSFtools (and had to fix a bug in that, so you need psftools-1.0.12).

Code:
fon2fnts vmilo.fon
fnt2psf Terminal_12.fnt | psf2raw > im1024font.bin

Author:  roytam1 [ Thu Mar 21, 2019 3:07 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

John Elliott wrote:
I used PSFtools (and had to fix a bug in that, so you need psftools-1.0.12).

Code:
fon2fnts vmilo.fon
fnt2psf Terminal_12.fnt | psf2raw > im1024font.bin

great! thanks!
BTW psftools-1.0.12.tar.gz link points to psftools-1.0.10.tar.gz

Author:  John Elliott [ Thu Mar 21, 2019 8:54 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

roytam1 wrote:
BTW psftools-1.0.12.tar.gz link points to psftools-1.0.10.tar.gz


:$ Fixed.

Author:  johnlemon647 [ Thu Mar 21, 2019 11:52 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Can patch work on Windows 1.0 Premiere Edition

Author:  John Elliott [ Thu Mar 21, 2019 10:20 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Probably not - the Windows 1 Premiere Edition installer hangs if it encounters a driver other than the ones it came with.

Author:  Overdoze [ Thu Mar 21, 2019 10:52 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

It may work with 1.xx, since that has a better setup that's closer to the final, and the overall system is near final as well.

Author:  TheCollector1988 [ Fri Mar 22, 2019 12:31 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Overdoze wrote:
It may work with 1.xx, since that has a better setup that's closer to the final, and the overall system is near final as well.


Tried on 1.xx and it works fine.

Author:  ComputerHunter [ Thu Aug 22, 2019 9:28 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Did I do something wrong? I used Windows 1.04 with VMILO.FON.

Image

Image

Image

Author:  Overdoze [ Thu Aug 22, 2019 12:06 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

More information would be welcome. Which emulator (and build of it), which version of Windows 1.0?

Author:  ComputerHunter [ Thu Aug 22, 2019 12:26 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Did I not tell you it is Windows 1.04? Of course I am using the latest build of PCem 15.

More information:
Code:
Model: AMI 386DX clone
Video: Image Manager 1024
CPU: i386DX/16
Mem: 8MB
HDD: 128MB, IDE
OS: MS-DOS 3.30, Windows 1.04

Author:  Battler [ Thu Aug 22, 2019 12:48 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

- ComputerHunter: Did you use John Elliott's instructions above to convert VMILO.FON to the binary file the emulator needs?

Author:  ComputerHunter [ Fri Aug 23, 2019 8:08 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

I got an insufficient disk space error when using the binary file. Do I replace LOFONTS.FON with it?

Author:  John Elliott [ Tue Aug 27, 2019 7:23 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

You need the font in two places:
* VMILO.FON replacing LOFONTS.FON within the Windows installation
* VMILO.FON converted to im1024font.bin in the emulator ROMs folder.

Author:  ComputerHunter [ Thu Aug 29, 2019 10:24 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

What did I do wrong?
Image

Author:  AlphaBeta [ Thu Aug 29, 2019 1:32 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Well, presumably you didn't convert the font file before using it as a ROM, since the characters are all subtracted like if an unexpected header was present.

Author:  ComputerHunter [ Thu Aug 29, 2019 10:01 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

I did exactly as mentioned above. What is the hash of the converted font file?

Author:  John Elliott [ Thu Aug 29, 2019 10:16 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Code:
% sha1sum im1024font.bin
6552900e38f8b341d67ea23a22114c50046db0a8  im1024font.bin

Author:  ComputerHunter [ Fri Aug 30, 2019 9:11 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

I can't get that hash, I am using the version 1.0.13 of PSF Tools. Is it possible to just upload that raw font?

Author:  Battler [ Fri Aug 30, 2019 2:44 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Here you go: http://citadel.ringoflightning.net/im1024font.bin .

Author:  ComputerHunter [ Fri Aug 30, 2019 10:46 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Thank you very much, it works.

The copyright symbol in the About dialogue doesn't look right.

Author:  John Elliott [ Fri Aug 30, 2019 11:49 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Judging by the fonts in VMILO.FON, the card character ROM used codepage 437, which doesn't include a copyright symbol, and so whoever designed the font mapped that character to ◙ .

'Terminal' font (CP437):
Image

'System' font (CP1252):
Image

Author:  ComputerHunter [ Sun Sep 01, 2019 9:50 am ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

I tried to recover as much info as possible from that Cobra driver disk. It looks like the floppy images is in good condition except for all root directory entries were zeroed. I managed to recover modification time and name for all directories and some files.

I can see a few interesting Windows drivers and I wonder which version of Windows they were designed for. I am suspecting Windows 2.x because I recovered a few font files in Windows 2.x format. I managed to recover COBRA.DRV and COBRA.FON but I didn't get the grabber file.

There is also an interesting application named DIAG.EXE which (I think) is for the IM1024. I tried to run it using the emulated IM1024 and it prints "DIAGNOSTIC ERROR 0". What does it mean? It is the problem with the emulation or it wasn't designed for the IM1024?

Author:  Overdoze [ Sun Sep 01, 2019 1:37 pm ]
Post subject:  Re: Can Windows 1.0x have 256 colors?

Using recover, chkdsk or scandisk to repair the disk results in clusters being mixed up and most files being unusable.

The Cobra driver is for Windows 2.x, yes. DIAG.EXE is likely for the Cobra too, as one of the text files suggests. In either case, if you combine mashed up files with the incomplete state of the IM1024 emulation, I don't see a scenario where things would work as they should.

Page 3 of 4 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/