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
|[Python 2.7.12](https://www.python.org/downloads/release/python-2712/)| all | required |
17
+
|[Setuptools](https://pypi.python.org/pypi/setuptools)| all | required |
18
+
| [SDL2](https://www.libsdl.org/download-2.0.php) | all | recommended | sound and graphics
19
+
| [NumPy](https://sourceforge.net/projects/numpy/files/) | all | recommended | sound and graphics
20
+
| [PySerial 3.4](https://pypi.python.org/pypi/pyserial) | all | optional | physical or emulated serial port access
21
+
| [PyParallel](https://sourceforge.net/projects/pyserial/files/pyparallel/0.2/) | Windows, Linux | optional | physical parallel port access
22
+
| [PyGame 1.9.3](http://www.pygame.org) | all | optional | sound and graphics (PyGame interface)
23
+
| [PyAudio](http://people.csail.mit.edu/hubert/pyaudio/) | all | experimental | sound (PortAudio engine)
24
24
25
25
26
26
`setuptools` and `pip` are included with Python.
27
27
Once you have a working Python installation, most dependencies can be installed with `pip`:
28
28
29
29
pip install pysdl2 numpy pygame pyaudio pyserial
30
30
31
-
If you require access to a physical parallel port,
32
-
download PyParallel from the web site linked above. This is only supported on Windows and Linux.
33
-
However, since most modern machines do not actually have parallel ports, you probably don't need it.
34
-
PyParallel is _not_ needed for printing to a CUPS or Windows printer.
31
+
To use the graphical interface, you will also need to install the [SDL2](https://www.libsdl.org/download-2.0.php) library.
32
+
Install the library in your OS's standard location for libraries.
33
+
If this causes difficulties, you can alternatively place the library in the following location:
35
34
36
-
To use the graphical interface, you will also need to install the [`SDL2`](https://www.libsdl.org/download-2.0.php) library, which is _not_ included in the `pysdl2` package. Install the library in your OS's standard location. On Windows, you can alternatively place `sdl2.dll` in the `pcbasic\lib` directory.
35
+
- Windows (64-bit Python, 64-bit SDL): `pcbasic\lib\win32_x64\sdl2.dll`
36
+
- Windows (32-bit Python, 32-bit SDL): `pcbasic\lib\win32_x86\sdl2.dll`
Copy file name to clipboardExpand all lines: README.md
+8-15Lines changed: 8 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -18,28 +18,21 @@ See also the [PC-BASIC home page](http://robhagemans.github.io/pcbasic/).
18
18
19
19
### Quick Start Guide ###
20
20
21
-
This quick start guide covers installation and elementary use of PC-BASIC. For more information, please refer to the [full PC-BASIC documentation](http://pc-basic.org/doc#) which covers usage, command-line options and a [comprehensive GW-BASIC language reference](http://pc-basic.org/doc#reference). This documentation is also included with the current PC-BASIC release.
21
+
This quick start guide covers installation and elementary use of PC-BASIC. For more information, please refer to the [PC-BASIC documentation](http://pc-basic.org/doc/2.0#).
22
22
23
23
If you find bugs, please [open an issue on GitHub](https://github.com/robhagemans/pcbasic/issues). It would be most helpful if you could include a short bit of BASIC code that triggers the bug.
24
24
25
25
26
26
#### Installation ####
27
-
The _stable release_ is preferred for desktop use. It can be downloaded from one of the following locations:
28
27
29
-
-[PC-BASIC releases on GitHub](https://github.com/robhagemans/pcbasic/releases)
30
-
-[PC-BASIC releases on SourceForge](https://sourceforge.net/projects/pcbasic/files/)
28
+
PC-BASIC desktop installers for Windows, Mac, and Linux can be downloaded from [GitHub](https://github.com/robhagemans/pcbasic/releases).
31
29
32
-
Installers are provided in the form of a Windows `.exe` and a Mac OS `.dmg` which can be installed in the usual way for those platforms. For Linux and other Unix-based systems, a `.tgz` archive is provided which includes an install script. Please consult the documentation inside the package for further instructions.
33
-
34
-
Python users can obtain _development releases_ from [PyPI](https://pypi.org/project/pcbasic/) through `pip install pcbasic`.
30
+
Python users can obtain the PC-BASIC package from [PyPI](https://pypi.org/project/pcbasic/) through `pip install pcbasic`.
35
31
36
32
37
33
#### BASIC survival kit ####
38
-
Click on the PC-BASIC application icon or run `pcbasic` on the command prompt to start PC-BASIC. The default emulation target is
39
-
GW-BASIC 3.23 on a generic IBM-compatible PC with a VGA video card.
40
-
41
-
PC-BASIC starts in direct mode, a 1980s-style interface operated by executing
42
-
BASIC commands directly. There is no menu, nor are there any of the visual clues
34
+
PC-BASIC has a 1980s-style interface operated by executing
35
+
typed commands. There is no menu, nor are there any of the visual clues
43
36
that we've come to expect of modern software.
44
37
45
38
A few essential commands to help you get around:
@@ -54,7 +47,7 @@ A few essential commands to help you get around:
54
47
|`SYSTEM`| exits PC-BASIC immediately, discarding any unsaved program |
55
48
56
49
Use one of the key combinations `Ctrl+Break`, `Ctrl+Scroll Lock`, `Ctrl+C` or `F12+B`
57
-
to interrupt a running program and return to direct mode.
50
+
to interrupt a running program.
58
51
59
52
60
53
#### Program location ####
@@ -65,7 +58,7 @@ If started through the start-menu shortcut, PC-BASIC looks for programs in the s
65
58
66
59
If started from the command prompt, PC-BASIC looks for programs in the current working directory.
67
60
68
-
See [the documentation on accessing your drives](http://pc-basic.org/doc#mounting) for more information.
61
+
See [the documentation on accessing your drives](http://pc-basic.org/doc/2.0#mounting) for more information.
69
62
70
63
71
64
#### External resources ####
@@ -75,7 +68,7 @@ The following pages have GW-BASIC program downloads, lots of information and fur
75
68
-[PeatSoft](http://archive.is/AUm6G) provides GW-BASIC documentation, utilities and some more games.
76
69
-[Neil C. Obremski's gw-basic.com](http://www.gw-basic.com/) has some fun new games made recently in GW-BASIC.
77
70
-[Leon Peyre](http://peyre.x10.mx/GWBASIC/) has a nice collection of GW-BASIC programs, including the (in)famous first IBM PC game `DONKEY.BAS`.
78
-
-[Brooks deForest](http://www.brooksdeforest.com/tandy1000/) provides his amazing Tandy GW-BASIC games, all released into the public domain.
71
+
-[Brooks deForest](https://web.archive.org/web/20170222075609/brooksdeforest.com/tandy1000) provides his amazing Tandy GW-BASIC games, all released into the public domain.
79
72
-[TVDog's Archive](http://www.oldskool.org/guides/tvdog/) is a great source of information and GW-BASIC programs for the Tandy 1000.
80
73
-[Phillip Bigelow](http://www.scn.org/~bh162/basic_programs.html) provides scientific programs written in GW-BASIC.
81
74
-[Gary Peek](http://www.garypeek.com/basic/gwprograms.htm) provides miscellaneous GW-BASIC sources which he released into the public domain.
0 commit comments