Updated README. Added sample AUTOTYPING.TXT. Fixed code style

This commit is contained in:
Frederic Stark 2024-10-06 14:55:22 +02:00
parent 13baf1a6a7
commit 8762bf447e
3 changed files with 7 additions and 9 deletions

View File

@ -1 +1,4 @@
280.28f
E000R
10 PRINT "HELLO, WORLD! ";
20 GOTO 10
RUN

8
README
View File

@ -1,8 +1,3 @@
# Fork of napple1
This forks enables to emulate keyboard entry on the apple1. When pressing "shift-K",
the keyboard I/O will be replaced by the content of the 'AUTOTYPING.TXT' file. (note: this have been done to be able to type in basic programs and use the 'dump" features to transfer them to binary files).
napple1 is an Apple 1 emulator using ncurses, ported from the SDL version
Pom1 emulafor. If you have some questions, please report it as an issue.
@ -64,7 +59,7 @@ type E2B3R<enter>
- Emulator commands
Command Key Description
--------------------------------------------------------------------
---------------------------------------------------------------------------
Basic load Shidt + B Load rom/basic.rom to ram
Dump core Shift + D Dump memory to core/_file name_
Load core Shift + L Load memory from core/_file name_
@ -72,6 +67,7 @@ Reset Shift + R Reset the emulator
Hard reset Shidt + H Reset & Clear memory
Quit Shidt + Q Quit the emulator
Mode Shift + M Mode change 8KB & 32KB ram mode
Shift + K Automatically type in AUTOTYPING.TXT file if present
- Load / Save programs

View File

@ -162,8 +162,7 @@ unsigned char memRead(unsigned short address)
return readDspCr();
if (address == 0xD012)
return readDsp();
if (address == 0xD011)
{
if (address == 0xD011) {
unsigned char v = readKbdCr();
if (!(v & 0x80))
nextAutotyping();