Space Invaders!
This commit is contained in:
parent
f09189c121
commit
09f4db3455
10 changed files with 21 additions and 15 deletions
|
|
@ -11,7 +11,8 @@ Overview
|
|||
---
|
||||
PC8080 is our 8080-based machine emulation module. The code is derived from [PCjs](/modules/pcjs/).
|
||||
|
||||
It is still a work-in-progress. See the list of available [PC8080 Machines](/devices/pc8080/machine/).
|
||||
It is still a work-in-progress. See the list of available [PC8080 Machines](/devices/pc8080/machine/), including
|
||||
[Space Invaders (1978)](/devices/pc8080/machine/invaders/).
|
||||
|
||||
PC8080 is currently comprised of the following non-shared components, as listed in [package.json](../../package.json)
|
||||
(see the *pc8080Files* property):
|
||||
|
|
|
|||
|
|
@ -1432,12 +1432,11 @@ Computer.prototype.updateFocus = function(fScroll)
|
|||
}
|
||||
/*
|
||||
* TODO: We need a mechanism to determine the "active" display, instead of hard-coding this to aVideo[0].
|
||||
*
|
||||
*/
|
||||
this.aVideo[0].setFocus();
|
||||
if (fScroll && window) {
|
||||
window.scrollTo(x, y);
|
||||
}
|
||||
*/
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ Keyboard.STUPID_KEYCODES[Keyboard.KEYCODE.FF_DASH] = Keyboard.ASCII['-'];
|
|||
Keyboard.SOFTCODES = {
|
||||
'1p': Keyboard.KEYCODE.ONE,
|
||||
'2p': Keyboard.KEYCODE.TWO,
|
||||
'coin': Keyboard.KEYCODE.FIVE,
|
||||
'coin': Keyboard.KEYCODE.THREE,
|
||||
'left': Keyboard.KEYCODE.LEFT,
|
||||
'right': Keyboard.KEYCODE.RIGHT,
|
||||
'fire': Keyboard.KEYCODE.SPACE
|
||||
|
|
|
|||
Loading…
Reference in a new issue