Is there a way to save my changes in the PCjs computers? #102
Unanswered
batugenc42
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello and happy new years!
A few days ago I discovered this site and I am very interested with it, I almost addicted. But I have some question, is there a way to save my changes (like text files, folders, it can be anything)? Or can I save my changes into a USB or a folder? It is not matter how I save, I just want to save my changes and reload to the PCjs computers. I tried to do this myself and researched many things but I could not solve it. I tried these things:
(I am using Windows 11 Lenovo IdeaPad)
(All things for windows 3.0)
SAVING HD
I tried to save the computers img file with pressing 'Save HD'. It gave me a img file. I choosed the img file from 'choose file' and pressed 'mount' but this gave me an error like this :
'Unrecognized disk format (21411840 bytes)'
USING DISKIMAGE.JS
I tried to convert the img file to JSON file, I converted it with
diskimage.js WIN300.img WIN300.json
. Then I tried the same thing (choosing the json file from 'choose file') but it gave me an error like this:'(Diskette "WIN300" too large for drive A)'.
I tried many thing (like using rar) but could not reduce size.
I tried to run the pc with
pc.js WIN300.json C:\users\...\tools\pc --boot=C
but it gave me an error like this:'error: unknown machine: WIN300.json
shutting down (1)'
I tried the same thing with img (
node pc.js WIN300.img WIN300.json --boot=C
) but it gave me an error like this:error: file(s) too large (117944320 bytes total, 10653696 bytes maximum)
error: unable to build drive
shutting down (1)'
Than, I relized to select an empty folder and I created an empty folder called WIN300 but this gave me the same error:
error: unsupported machine file: WIN300.img
shutting down (1)
Also json and js files do not work. Gives the same error. But than, I writed only the empty folder name (
node pc.js WIN300
). I pressed CTRL D and writedfetch WIN300.img WIN300
, it copied all the windows 3.0 system files to my WIN300 folder. than I quitted, typed againnode pc.js WIN300
. It gave me an output like this:[Press CTRL-D to enter command mode]
HIMEM: DOS XMS Driver, Version 2.60 - 04/05/90
XMS Specification Version 2.0
Copyright 1988-1990 Microsoft Corp.
Installed A20 handler number 1.
64K High Memory Area is available.
Microsoft SMARTDrive Disk Cache version 3.03
Cache size: 320K in Extended Memory
Room for 37 tracks of 17 sectors each
Minimum cache size will be 0K
EGA Device Driver Version 2.10.18
Copyright (C) Microsoft Corporation 1984-1990
Copyright (C) IBM 1986-1987
Portions Copyright (C) Hewlett-Packard Co. 1987
Using default value of BCH for interrupt 2FH function calls.
A copy of the EGA Device Driver is being installed.
C>PATH C:;C:\WINDOWS
C>SET TEMP=C:\WINDOWS\TEMP
C>WIN
Only this. Nothing happens, command dont stop except you stop it manually. I dont know what to do, and what it is means. Actually I do not know what to expect from this.
I tried to save machine with clicking 'save machine'. It gave me an js folder like 'pcx86.js'. I tried to load it to A: and B: drives but it gave me the error:
'Unable to load disk "pcx86" (error 404: pcx86.js)'
And unfortunately, I do not understand how to use pcx86.js.
TYRING TO LOAD IN WINDOWS SETUP
Although I have no idea about windows 3.0 setup.exe, I tried setup the windows. I found a 'Computer' choice, than I choosed 'other' option but I have no idea how I should use it. I am writing my WIN300 folders path (all the windows 3.0 files in the folder) like this 'E:\WIN300' (E: is my USB that contains my WIN300 folder), and when I press enter, computer adds 'oemsetup.inf' near the path. I do not know what to do. Also A: and B: drivers not work. Except this, if I do not change anything in setup, it installs the default windows 3.0 system but this is not that I want.
USING PCX86.JS FILE FOR A HTML AND XML WEB PAGE
<script type="text/javascript" src="pcx86.js"></script> <script type="text/javascript">embedPC("ibm5170-win300","machine.xml","components.xsl");</script>I saved windows 3.0 machine with pressing 'save machine'. It gave me the 'pcx86.js' file and a javascript alert message that says:
**'Check your Downloads folder for "pcx86.js", copy it to your web server as "pcx86.js",
and then add the following to your web page:
The machine should appear where the
Than I created a HTML file that contains:
<div id="ibm5170-win300"></div><script src="pcx86.js"></script><script>embedPCx86("ibm5170-win300","machine.xml","components.xsl");</script>
pcx86.js file is in the same folder with this HTML file. Than I opened the HTML file with Chrome but it gave me an error like this:
'Error: unable to load machine.xml (-1) (machine.xml)'
I think it is about the CORS thing. But I could not change the settings of CROS and I do not know how to do.
I also tried changing the HTML page to XML page. But it gave me the error:
This page contains the following errors:
error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
I do not know what should I delete from the document and what is the document.
I opened my linux (Arch linux) computer and I created an local host server to deal with CORS security. Yes, CORS was disabled in my server but the page could not find the machine.xml file. Than, I decieded to edit the file manually and exporting it to another xml file. I deleted al the \n and added enter, deleted \t and added tabs and etc. I created a new machine.xml and components.xsl files. Than, I tried one more time but I got this 4 errors from the console:
pcx86.js:98
GET http://localhost:8000/ATBIOS-REV3.json5 404 (File not found)
pcx86.js:98
GET http://localhost:8000/machines/pcx86/ibm/video/ega/1984-09-13/IBM-EGA.json5 404 (File not found)
pcx86.js:98
GET http://localhost:8000/machines/pcx86/diskettes.json 404 (File not found)
pcx86.js:98
GET https://private.pcjs.org/pcx86/diskettes.json 404 (Not Found)
I solved the first error with finding and saving the ATBIOS-REV3.rom file in the pcjs.org and I converted it to json5 file with
node fileimage.js --file=/machines/pcx86/ibm/5170/rom/bios/1985-11-15/BIOS_5170_15NOV85_U27_61X9266_27256.BIN --merge=/machines/pcx86/ibm/5170/rom/bios/1985-11-15/BIOS_5170_15NOV85_U47_61X9265_27256.BIN --output=ATBIOS-REV3.json5 --overwrite
. It gave me the json5 file and I added the file into my folder. I solved it but I could not find the IBM-EGA.json5 file at pc.js site. I wrote the link https://www.pcjs.org/machines/pcx86/ibm/video/ega/1984-09-13/IBM-EGA.rom to find the file and I found it suprisely. And I convertet it to json file again withnode fileimage.js --file=IBM-EGA.rom --output=1984-09-13/IBM-EGA.json5 --comments
. I added the file into my windows folder. Than I searched for pcjs.org/machines/pcx86/diskettes.json Opened a json page, I copied the page and pasted it to a json file called diskettes.json and added it into my folder too. Finally a black DOS screen opened. I am very close but I could not find the diskettes from private.pcjs.org/pcx86/diskettes.json. I think it is private and I do not have the permission or the page does not exist. Only one error remained about it. For now, I can enter some DOS commands, but can not run the actual windows with GUI screen. A: and B: drives has system files but C: drive has nothing.And Also mouse is not working
I really want to use this old windows system computers like a really computer, it is fun. What should I do to save my changes? I am waiting for your helpful answers.
Note: Windows 1.01 saves my changes and do not reset itselfs althought I restart the computer. How it can be possible and is there a feature for other windows?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions