Updated information on Adventures in Math (1983)

This commit is contained in:
Jeff Parsons 2017-06-26 07:47:19 -07:00 • committed by Jeff Parsons
commit 80cf6953d9
8 changed files with 1086 additions and 1106 deletions

View file

@ -100,25 +100,14 @@ Another unexpected file was **BASICA.EXE** (54277 bytes) from 1999. It seems un
*any* BASIC binary with this game, because DOS was a prerequisite, and at the time, all versions of DOS included BASIC.
IBM's PC-DOS shipped with **BASICA.COM** and OEM versions of DOS shipped with either **GWBASIC.EXE** or **BASIC.EXE**.
Curiously, the **BASICA.EXE** from [COMPAQ DOS 1.11](/disks/pcx86/dos/compaq/1.11/) is exactly 5 bytes smaller, and both
files contain the following strings:
Unsurprisingly, this **BASICA.EXE** is neither from 1999 nor from IBM. It's virtually identical to the circa 1983
**BASICA.EXE*** found in [COMPAQ DOS 1.11](/disks/pcx86/dos/compaq/1.11/), except that it is 5 bytes larger, due to the
addition of "MsDos" at the end of the file. It contains the following strings:
The COMPAQ Personal Computer BASIC
Version 1.13
(C) Copyright COMPAQ Computer Corp. 1983
In fact, the only differences are in first few and last few bytes:
1c1
< 00000000 4d 5a 05 00 6b 00 00 00 20 00 7a 03 ff ff 00 00 |MZ..k... .z.....|
---
> 00000000 4d 5a 20 01 6a 00 00 00 20 00 00 00 ff ff 00 00 |MZ .j... .......|
3196,3197c3196
< 0000d400 4d 73 44 6f 73 |MsDos|
< 0000d405
---
> 0000d400
It's safe to say that IBM would not have distributed a COMPAQ binary; if IBM had distributed any BASIC binary at all,
it would have been their own **BASICA.COM**. Of course, the problem with IBM's **BASICA.COM** is that it also requires
an IBM PC with ROM BASIC installed, which is why some people would have preferred the COMPAQ binary: it had no ROM

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -49377,28 +49377,7 @@ class Video extends Component {
* At this point, xThird and yThird should both be one of 0, 1 or 2, indicating which horizontal and
* vertical third of the virtual screen the touch event occurred.
*/
if (/* xThird == 1 && */ yThird != 1) {
if (!yThird) {
this.kbd.addActiveKey(Keyboard.CLICKCODES.UP, true);
} else {
this.kbd.addActiveKey(Keyboard.CLICKCODES.DOWN, true);
}
} else if (/* yThird == 1 && */ xThird != 1) {
if (!xThird) {
this.kbd.addActiveKey(Keyboard.CLICKCODES.LEFT, true);
} else {
this.kbd.addActiveKey(Keyboard.CLICKCODES.RIGHT, true);
}
}
else {
/*
* Why simulate a SPACE if the tap is in the middle third of the screen? Well, apparently I
* didn't explain earlier that the WHOLE reason I originally added KEYGRID support (before it was
* even called KEYGRID support) was to make the 1985 game "Rogue" (pcjs.org/apps/pcx86/1985/rogue)
* more fun to play on an iPad, because arrows and spaces are the most commonly used keys.
*/
this.kbd.addActiveKey(Keyboard.SIMCODE.SPACE, true);
}
this.kbd.addActiveKey(Video.KEYGRID[yThird][xThird], true);
}
} else {
@ -53767,6 +53746,18 @@ Video.TOUCH = {
MOUSE: 2
};
/*
* Why simulate a SPACE if the tap is in the middle third (center) of the screen? Well, apparently
* I didn't explain earlier that the WHOLE reason I originally added KEYGRID support (before it was
* even called KEYGRID support) was to make the 1985 game "Rogue" (pcjs.org/apps/pcx86/1985/rogue)
* more fun to play on an iPad, and space is a commonly required key.
*/
Video.KEYGRID = [
[Keyboard.SIMCODE.HOME, Keyboard.SIMCODE.UP, Keyboard.SIMCODE.PGUP],
[Keyboard.SIMCODE.LEFT, Keyboard.SIMCODE.SPACE, Keyboard.SIMCODE.RIGHT],
[Keyboard.SIMCODE.END, Keyboard.SIMCODE.DOWN, Keyboard.SIMCODE.PGDN],
];
/*
* Port input/output notification tables
*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long