You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[8088 CPU](https://en.wikipedia.org/wiki/Intel_8088)*<br/> <pre>*or compatibiles<br/>like the 8086, V20,<br/>286, 386 etc<br/><br/>Machine emulators<br/>provided as an alternative<br/>for other ISAs</pre> |[86Box](https://86box.net/) ([GitHub](https://github.com/86Box/86Box))<br/>[DOSBox-X](https://dosbox-x.com/) ([GitHub](https://github.com/joncampbell123/dosbox-x))<br/>[PCem](https://www.pcem-emulator.co.uk/) ([GitHub](https://github.com/sarah-walker-pcem/pcem/)) |
12
-
| PC-DOS 2.1 or higher |[FreeDOS](https://www.freedos.org/download/)<br/>[DOSBox-X](https://dosbox-x.com/) ([GitHub](https://github.com/joncampbell123/dosbox-x))<br/>[SvarDOS](http://svardos.org/)|
13
-
| At least 320 kilobytes<br/>of total system memory | <pre>Any memory above<br/>640 kilobytes is<br/>inaccessible to all<br/>real mode DOS programs |
14
-
| At least 600 kilobytes<br/>of hard disk space or x2<br/>360 kilobyte diskettes | <pre>Can be ran directly<br/>from a diskette on<br/>machines without a<br/>hard drive |
9
+
Lua for Watcom binaries can run on a number of legacy systems as well as some modern ones.
15
10
16
-
> If in doubt, install [DOSBox-X](https://dosbox-x.com/)
11
+
### Absolute Minimum Requirements
12
+
13
+
These are the absolute lowest system requirements needed for a PC to run `LUA16.EXE`.
| CPU |[8086 compatible](https://en.wikipedia.org/wiki/Intel_8086)| <pre>Compatibles like<br/>the Intel 8088, NEC V20,<br/>286, 386 etc<br/><br/>Machine emulators<br/>provided as an alternative<br/>for other ISAs</pre>[86Box](https://86box.net/) ([GitHub](https://github.com/86Box/86Box))<br/>[DOSBox-X](https://dosbox-x.com/) ([GitHub](https://github.com/joncampbell123/dosbox-x))<br/>[PCem](https://www.pcem-emulator.co.uk/) ([GitHub](https://github.com/sarah-walker-pcem/pcem/)) |
18
+
| Operating System | PC-DOS 2.0 |[FreeDOS](https://www.freedos.org/download/)<br/>[DOSBox-X](https://dosbox-x.com/) ([GitHub](https://github.com/joncampbell123/dosbox-x))<br/>[SvarDOS](http://svardos.org/)|
19
+
| Random Access Memory | At least 512 kilobytes<br/>of base system memory | <pre>Any memory above<br/>640 kilobytes is<br/>inaccessible to all<br/>real mode DOS programs |
20
+
| Storage | At least 150 kilobytes<br/>of free disk space | <pre>Can be ran directly<br/>from a diskette on<br/>machines without a<br/>hard drive |
21
+
22
+
### Binary Native Targets
23
+
24
+
Since Open Watcom can produce binaries for several operating systems,
25
+
each binary has been given a unique name to distinguish the native **Operating System** (OS)
26
+
and **Instruction Set Architecture** (ISA) it is intended for.
27
+
28
+
| Binary Name | Native OS | Native ISA |
29
+
|---------------|-----------------|------------|
30
+
|**LUA16.EXE**| Real mode DOS | 8086 |
31
+
|**LUA21.EXE**| OS/2 1.2 | 80286 |
32
+
|**LUA22.EXE**| OS/2 2.0 | 80386 |
33
+
|**LUA4G.EXE**| DOS4GW extender | 80386 |
34
+
|**LUANT.EXE**| Windows 95 | 80386 |
35
+
36
+
### Binary Compatibility Matrix
37
+
38
+
Some OSes can run binaries intended for another out of the box.
39
+
Do keep in mind, however, that in most of these cases
40
+
the OS is newer and has higher minimum requirements.
41
+
42
+
| Operating System | Minimum OS ISA(s) | LUA16.EXE | LUA21.EXE | LUA22.EXE | LUA4G.EXE | LUANT.EXE |
|Operating System supported by Open Watcom<br/>(at least MS-DOS 5.0)|[FreeDOS](https://www.freedos.org/download/)<br/>[DOSBox-X](https://dosbox-x.com/) ([GitHub](https://github.com/joncampbell123/dosbox-x))<br/>[SvarDOS](http://svardos.org/)|
26
66
|[80386 compatible processor](https://en.wikipedia.org/wiki/I386)* <br/> <pre>*Any AMD or Intel CPU <br/>made in the last 3 decades<br/>is compatible.<br/><br/>Machine emulators provided <br/>as an alternative for other ISAs </pre> |[86Box](https://86box.net/) ([GitHub](https://github.com/86Box/86Box))<br/>[DOSBox-X](https://dosbox-x.com/) ([GitHub](https://github.com/joncampbell123/dosbox-x))<br/>[PCem](https://www.pcem-emulator.co.uk/) ([GitHub](https://github.com/sarah-walker-pcem/pcem/))<br/>[Qemu](https://www.qemu.org/) ([GitLab](https://gitlab.com/qemu-project/qemu)) |
27
67
| A patching utility |[GNU Patch](https://savannah.gnu.org/projects/patch/)<br>[DifPat](https://github.com/deverac/difpat)|
28
68
29
-
> If in doubt, install [DOSBox-X](https://dosbox-x.com/)
69
+
> If in doubt, [DOSBox-X](https://dosbox-x.com/) can be used on a modern machine
30
70
31
71
## How to build
32
72
1) Extract Luas source code to the `Lua` folder. This can be achieved in two ways:
@@ -48,6 +88,9 @@ To build Lua with Open Watcom you will need the following:
0 commit comments