WOZ format support documentation

This commit is contained in:
Ivan Izaguirre 2019-12-22 14:32:54 +01:00 committed by Iván Izaguirre
parent 5847a0f8a5
commit 5966be84a5
3 changed files with 10 additions and 4 deletions

View File

@ -12,7 +12,9 @@ Portable emulator of an Apple II+ or //e. Written in Go.
- Apple //e enhanced with 128Kb of RAM - Apple //e enhanced with 128Kb of RAM
- Base64A clone with 48Kb of base RAM and paginated ROM - Base64A clone with 48Kb of base RAM and paginated ROM
- Storage - Storage
- 16 Sector diskettes in NIB format
- 16 Sector diskettes in DSK format - 16 Sector diskettes in DSK format
- 16 Sector diskettes in WOZ 1.0 or 2.0 format (read only)
- ProDos hard disk - ProDos hard disk
- Emulated extension cards: - Emulated extension cards:
- DiskII controller - DiskII controller
@ -59,7 +61,7 @@ casa@servidor:~$ ./apple2sdl
![DOS 3.3 started](doc/dos33.png) ![DOS 3.3 started](doc/dos33.png)
### Play games ### Play games
Download a DSK file locally or use an URL ([Asimov](https://www.apple.asimov.net/images/) is an excellent source) with the `-disk` parameter: Download a DSK or WOZ file or use an URL ([Asimov](https://www.apple.asimov.net/images/) is an excellent source) with the `-disk` parameter:
``` ```
casa@servidor:~$ ./apple2sdl -disk "https://www.apple.asimov.net/images/games/action/karateka/karateka (includes intro).dsk" casa@servidor:~$ ./apple2sdl -disk "https://www.apple.asimov.net/images/games/action/karateka/karateka (includes intro).dsk"
``` ```
@ -169,6 +171,8 @@ Only valid on SDL mode
dump to the console the sofswitches calls dump to the console the sofswitches calls
-vidHDSlot int -vidHDSlot int
slot for the VidHD card, only for //e models. -1 for none (default 2) slot for the VidHD card, only for //e models. -1 for none (default 2)
-woz string
show WOZ file information
``` ```

View File

@ -28,7 +28,7 @@ func MainApple() *Apple2 {
wozImage := flag.String( wozImage := flag.String(
"woz", "woz",
"", "",
"file to load on the first disk drive") "show WOZ file information")
hardDiskImage := flag.String( hardDiskImage := flag.String(
"hd", "hd",
"", "",
@ -109,7 +109,7 @@ func MainApple() *Apple2 {
panic(err) panic(err)
} }
f.dump() f.dump()
panic("Woz loaded") return nil
} }

View File

@ -9,7 +9,9 @@ import (
func main() { func main() {
a := apple2.MainApple() a := apple2.MainApple()
SDLRun(a) if a != nil {
SDLRun(a)
}
} }
// SDLRun starts the Apple2 emulator on SDL // SDLRun starts the Apple2 emulator on SDL