Search found 24 matches

by Tux
Tue 13 Dec, 2022 11:43 am
Forum: General
Topic: How to Detect PCem Programmatically?
Replies: 16
Views: 3127

Re: How to Detect PCem Programmatically?

Bret wrote: Tue 13 Dec, 2022 3:35 am If you looked at the source code...
yep, I did...
TODO: Convert to NASM
:roll: :D

About ASPI (SCSIMGR$): did you see this code snipplet in the FreeDOS user mailing list? Found it helpful...
by Tux
Mon 12 Dec, 2022 6:44 pm
Forum: General
Topic: How to Detect PCem Programmatically?
Replies: 16
Views: 3127

Re: How to Detect PCem Programmatically?

Bret wrote: Mon 12 Dec, 2022 3:23 pmJust as an FYI...
Thanks, yes, I do have CPUCACHE and SLOWDOWN probably since more than one decade :-)
And I grabbed ISLOADED shortly after you announced it, in the FreeDOS devel list afaik (my version is of Sept. 6th 2022, did you already release a newer one? Cannot find it on your HP).
by Tux
Fri 09 Dec, 2022 12:41 pm
Forum: General
Topic: How to Detect PCem Programmatically?
Replies: 16
Views: 3127

Re: How to Detect PCem Programmatically?

Hi Bret, dunno how far you have come already, but if you are interested I can send you my small and simple asm code for detecting the string 'PCemHD' (at IDE controller). It also takes care of an IDE timeout (i.e. no IDE harddisk) with another errorlevel (as I use it in batch files). Additionally I ...
by Tux
Sun 18 Sep, 2022 4:14 pm
Forum: General
Topic: How to Detect PCem Programmatically?
Replies: 16
Views: 3127

Re: How to Detect PCem Programmatically?

For detection of DOSBox, Qemu, VirtualBox, VMWare with one tool (under DOS) you dont have to reevent the wheel. Check "vinfo.com" from V8Power Tools by FreeDOS developer J. Shidel. Personal remark (vinfo): I reenabled errorlevel 200 in the source code, then its the exit code with PCem (but...
by Tux
Tue 13 Sep, 2022 9:40 pm
Forum: General
Topic: How to Detect PCem Programmatically?
Replies: 16
Views: 3127

Re: How to Detect PCem Programmatically?

What do you mean by a string "at the position of the first IDE hard disk"? Are you talking about the volume label of the formatted C: drive (in my case, it's not "PCemHD"). Are you talking about some sort ID string/code in the IDE controller? Yes, it is the "Model" or ...
by Tux
Sat 10 Sep, 2022 1:21 pm
Forum: General
Topic: How to Detect PCem Programmatically?
Replies: 16
Views: 3127

Re: How to Detect PCem Programmatically?

In addition to my previous post:
There is a FreeDOS package named "FindDisk" by Eric Auer for the above mentioned task (locate a disk by label).
by Tux
Sat 10 Sep, 2022 12:37 pm
Forum: General
Topic: How to Detect PCem Programmatically?
Replies: 16
Views: 3127

Re: How to Detect PCem Programmatically?

I had the same problem. Both BIOS strings or any "guest services" obviously are of no help with PCem. However, in my (different) setups I use a virtual hard disk, too. My solution is to search for the string "PCemHD" at the position of the first IDE hard disk ('Primary master'), ...
by Tux
Mon 26 Apr, 2021 5:11 pm
Forum: General
Topic: PCem Ubuntu lagging
Replies: 9
Views: 4355

Re: PCem Ubuntu lagging

Yes, same here too (Debian).
by Tux
Mon 30 Mar, 2020 4:55 pm
Forum: General
Topic: CPU ID:NEC V20 instead of Intel 8088 on PCEM / 86box
Replies: 12
Views: 12758

Re: CPU ID:NEC V20 instead of Intel 8088 on PCEM / 86box

.386 was there only to make Tasm 2.0 happy... I see, thanks for clarification (didn't check the complete code). I just compiled cpu.asm with Tasm 2.0 and you are right, it works :) However, CPULEVEL is Nasm-style syntax and doesn't use this - quite irritating - .386-instruction, seems to be quite &...
by Tux
Mon 30 Mar, 2020 11:32 am
Forum: General
Topic: CPU ID:NEC V20 instead of Intel 8088 on PCEM / 86box
Replies: 12
Views: 12758

Re: CPU ID:NEC V20 instead of Intel 8088 on PCEM / 86box

Hmmm, a program with 386-instructions (" .386" at the beginning) running/testing on (e.g.) a NEC V20 or a 286?

But you can take cpulevel from FreeDOS, public domain by Eric Auer 2004-2008.
by Tux
Thu 08 Aug, 2019 12:21 pm
Forum: General
Topic: XT Networking
Replies: 4
Views: 5300

Re: XT Networking

Probably you want TCP/IP, for either WATTCP or mTCP network stacks. Then you need the correct packet driver, which depends on the network card you have (with real hardware). If you really have a NE2000-compatible network card (with real hardware), or with PCem: Don't forget to take the 8bit version ...
by Tux
Tue 21 May, 2019 12:12 pm
Forum: General
Topic: [OT-ish] fitting Linux distros?
Replies: 8
Views: 10447

Re: [OT-ish] fitting Linux distros?

Not sure about 3dfx Voodoo, but I successfully used TinyCore Linux under Pcem, and PCem under TinyCore Linux...
by Tux
Thu 20 Dec, 2018 1:37 pm
Forum: Development
Topic: unable to compile PCem under Linux
Replies: 13
Views: 17133

Re: unable to compile PCem under Linux

szadycbr, your posting says (just citing one of several similar examples): wx-sdl2.c:(.text+0x16c1): undefined reference to `loadbios' Either you have edited the file wx-sdl2.c, or deleted the file mem.h, or (more likely) your configure process is/was messed up. Explanation: In wx-sdl2.c you should ...
by Tux
Thu 20 Dec, 2018 1:23 pm
Forum: Development
Topic: unable to compile PCem under Linux
Replies: 13
Views: 17133

Re: unable to compile PCem under Linux

Katakis, your posting says: checking whether the C compiler works... no configure: error: in `/home/glenn/Games/Emulators/PC': configure: error:C compiler cannot create executables C compiler cannot create executables ... uh oh... check if you have write permission in folder `/home/glenn/Games/Emula...
by Tux
Sun 16 Dec, 2018 6:36 pm
Forum: Merged patches
Topic: [Patch] 8088 Zenith Data SupersPORT
Replies: 1
Views: 5778

[Patch] 8088 Zenith Data SupersPORT

Finally I got the [8088] Zenith Data SupersPORT running... The problem was the very special memory handling of this machine. The SupersPort has a so called Scratchpad RAM. It is used by the Monitor program to temporarily store intermediate information used by the CPU and BIOS. It is located from F00...
by Tux
Mon 27 Aug, 2018 1:11 pm
Forum: General
Topic: Network share through samba?
Replies: 2
Views: 4026

Re: Network share through samba?

Samba: short answer: yes. I do so. long answer (but don't expect a tutorial now): With PCem and DOS: First issue is to set up a Samba server in your LAN or on your host system which lets DOS clients connect. Hint: You must fiddle around with settings (in section [global] of your smb.conf) like - lan...
by Tux
Fri 27 Jul, 2018 12:51 pm
Forum: General
Topic: how to enable Log in PCem ?
Replies: 3
Views: 5762

Re: how to enable Log in PCem ?

It depends on the build process when compiling PCem.
When you run the "configure" script (I suppose you are running a decent OS, e.g. Linux) do NOT enable release-build.
by Tux
Wed 18 Jul, 2018 5:04 pm
Forum: Merged patches
Topic: [Patch] Headland chipset improvement and more machines
Replies: 11
Views: 18975

Re: [Patch] Headland chipset improvement and more machines

Working as expected, thanks for this patch :) (quickly tested with Linux version of PCem and DOS boot floppies). AMA-932J: The suggested EMS driver was not necessary for me. Do I miss something here? FreeDOS provides XMS and EMS with either HimemX + (FreeDOS-)EMM386 or with JemmEx 5.78. And so does ...
by Tux
Fri 01 Jun, 2018 5:17 pm
Forum: Patches
Topic: [Patch] Corona PPC-400
Replies: 1
Views: 4875

Re: [Patch] Corona PPC-400

Thanks for this patch :-)

Does anyone have an idea why the Corona machine only uses 256 K memory although I configured 512 K in PCem?

Image
by Tux
Sat 19 May, 2018 3:59 pm
Forum: General
Topic: Do you have any luck with FreeDos 1.4 installation?
Replies: 3
Views: 6211

Re: Do you have any luck with FreeDos 1.4 installation?

FreeDOS 1.4 does not exist, current version is 1.2. I have the same issues with UDVD2.sys and PCem, however several "simple" older IDE-CDROM drivers do work. In addition to leilei's proposal (oakcdrom.sys), you might choose VIDE-CDD.SYS v2.15 (small footprint). I use it with PCem and sever...
by Tux
Wed 16 May, 2018 5:30 pm
Forum: Patches
Topic: [Patch] Compaq LTE
Replies: 6
Views: 9478

Re: [Patch] Compaq LTE

Thanks for your reply and the link - that's what I was looking for :)
by Tux
Tue 15 May, 2018 7:41 pm
Forum: Patches
Topic: [Patch] Compaq LTE
Replies: 6
Views: 9478

Re: [Patch] Compaq LTE

I successfully applied this patch, thanks :-) One question: Could you tell me which version of COMPAQ DIAGNOSTICS you used to get screen shot #2 ("The Compaq (R) Personal Computer Diagnostics")? I tried "SETUP/DIAGNOSTICS Version 8.00 DP256" 720K (3.5 Inch floppy) from Softpaq sp...
by Tux
Fri 04 May, 2018 7:32 pm
Forum: Development
Topic: Fixing a compiler warning, fdi2raw.c (Linux)
Replies: 0
Views: 4787

Fixing a compiler warning, fdi2raw.c (Linux)

Depending on your compiler (here: gcc with Linux) you might receive four similar warnings (compiling fdi2raw.c)

Code: Select all

fdi2raw.c:1631:25: warning: integer overflow in expression [-Woverflow]
        if (randval <= (3 * RAND_MAX / 8))
Attachment (patch against PCem v14) fixes the warnings.
by Tux
Fri 04 May, 2018 7:10 pm
Forum: Merged patches
Topic: [Patch] Configurable Mac Address
Replies: 1
Views: 5036

[Patch] Configurable Mac Address

Not a big deal - this small patch (against PCem v14) just enables a configurable mac address. I remember someone asking for this feature in the forum some time ago... Not in the GUI though, you must set your mac address manually in your config. file (pcem.cfg). Add a line similar to "macaddr = ...