diff --git a/README.md b/README.md index 099d80b..d732cf3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Apple ][+, //e emulator +# izapple2 - Apple ][+, //e emulator Portable emulator of an Apple II+ or //e. Written in Go. -[![CircleCI](https://circleci.com/gh/ivanizag/apple2/tree/master.svg?style=svg)](https://circleci.com/gh/ivanizag/apple2/tree/master) +[![CircleCI](https://circleci.com/gh/ivanizag/izapple2/tree/master.svg?style=svg)](https://circleci.com/gh/ivanizag/izapple2/tree/master) ## Features @@ -72,14 +72,14 @@ By default the following configuration is launched: ## Running the emulator -No installation required. [Download](https://github.com/ivanizag/apple2/releases) the single file executable `apple2xxx_xxx` for linux or Mac, SDL2 graphics or console. Build from source to get the latest features. +No installation required. [Download](https://github.com/ivanizag/izapple2/releases) the single file executable `izapple2xxx_xxx` for linux or Mac, SDL2 graphics or console. Build from source to get the latest features. ### Default mode Execute without parameters to have an emulated Apple //e Enhanced with 128kb booting DOS 3.3 ready to run Applesoft: ``` terminal -casa@servidor:~$ ./apple2sdl +casa@servidor:~$ ./izapple2sdl ``` ![DOS 3.3 started](doc/dos33.png) @@ -89,7 +89,7 @@ casa@servidor:~$ ./apple2sdl 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: ``` terminal -casa@servidor:~$ ./apple2sdl -disk "https://www.apple.asimov.net/images/games/action/karateka/karateka (includes intro).dsk" +casa@servidor:~$ ./izapple2sdl -disk "https://www.apple.asimov.net/images/games/action/karateka/karateka (includes intro).dsk" ``` ![Karateka](doc/karateka.png) @@ -100,7 +100,7 @@ Download the excellent [Total Replay](https://archive.org/details/TotalReplay) c [a2-4am](https://github.com/a2-4am/4cade). Run it with the `-hd` parameter: ``` terminal -casa@servidor:~$ ./apple2sdl -hd "Total Replay v3.0.2mg" +casa@servidor:~$ ./izapple2sdl -hd "Total Replay v3.0.2mg" ``` Displays super hi-res box art as seen with the VidHD card. @@ -109,10 +109,10 @@ Displays super hi-res box art as seen with the VidHD card. ### Terminal mode -To run text mode right on the terminal without the SDL2 dependency, use `apple2console`. It runs on the console using ANSI escape codes. Input is sent to the emulated Apple II one line at a time: +To run text mode right on the terminal without the SDL2 dependency, use `izapple2console`. It runs on the console using ANSI escape codes. Input is sent to the emulated Apple II one line at a time: ``` terminal -casa@servidor:~$ ./apple2console -model 2plus +casa@servidor:~$ ./izapple2console -model 2plus ############################################ # # @@ -229,26 +229,26 @@ Only valid on SDL mode ## Building from source -### apple2console +### izapple2console The only dependency is having a working Go installation on any platform. Run: ``` terminal -go get github.com/ivanizag/apple2/apple2console -go build github.com/ivanizag/apple2/apple2console +go get github.com/ivanizag/izapple2/izapple2console +go build github.com/ivanizag/izapple2/izapple2console ``` -### apple2sdl +### izapple2sdl Besides having a working Go installation, install the SDL2 developer files. Valid for any platform Run: ``` terminal -go get github.com/ivanizag/apple2/apple2sdl -go build github.com/ivanizag/apple2/apple2sdl +go get github.com/ivanizag/izapple2/izapple2sdl +go build github.com/ivanizag/izapple2/izapple2sdl ``` ### Use docker to cross compile for Linux and Windows @@ -260,4 +260,4 @@ cd docker ./build.sh ``` -To run in Windows, copy the file `SDL2.dll` on the same folder as `apple2sdl.exe`. The latest `SDL2.dll` can be found in the [Runtime binary for Windows 64-bit](https://www.libsdl.org/download-2.0.php). +To run in Windows, copy the file `SDL2.dll` on the same folder as `izapple2sdl.exe`. The latest `SDL2.dll` can be found in the [Runtime binary for Windows 64-bit](https://www.libsdl.org/download-2.0.php). diff --git a/apple2.go b/apple2.go index 4b8e01a..d54863a 100644 --- a/apple2.go +++ b/apple2.go @@ -1,10 +1,10 @@ -package apple2 +package izapple2 import ( "fmt" "time" - "github.com/ivanizag/apple2/core6502" + "github.com/ivanizag/izapple2/core6502" ) // Apple2 represents all the components and state of the emulated machine diff --git a/apple2Setup.go b/apple2Setup.go index 0a3c6c9..45f1d39 100644 --- a/apple2Setup.go +++ b/apple2Setup.go @@ -1,9 +1,9 @@ -package apple2 +package izapple2 import ( "errors" - "github.com/ivanizag/apple2/core6502" + "github.com/ivanizag/izapple2/core6502" ) func newApple2() *Apple2 { diff --git a/apple2main.go b/apple2main.go index efff306..8995a72 100644 --- a/apple2main.go +++ b/apple2main.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "flag" diff --git a/base64a.go b/base64a.go index 8380a07..82bef57 100644 --- a/base64a.go +++ b/base64a.go @@ -1,9 +1,9 @@ -package apple2 +package izapple2 import ( "fmt" - "github.com/ivanizag/apple2/core6502" + "github.com/ivanizag/izapple2/core6502" ) /* diff --git a/blockDisk.go b/blockDisk.go index 9a7b22a..368cb0c 100644 --- a/blockDisk.go +++ b/blockDisk.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "errors" diff --git a/cardBase.go b/cardBase.go index f05412c..d85cb2d 100644 --- a/cardBase.go +++ b/cardBase.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 type card interface { loadRom(data []uint8) diff --git a/cardDisk2.go b/cardDisk2.go index 6b82214..a2f12fe 100644 --- a/cardDisk2.go +++ b/cardDisk2.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "fmt" diff --git a/cardFastChip.go b/cardFastChip.go index ab86a10..b804b8c 100644 --- a/cardFastChip.go +++ b/cardFastChip.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* Simulates just what is needed to make Total Replay use fast mode. Can change diff --git a/cardHardDisk.go b/cardHardDisk.go index 0e14790..852c6c5 100644 --- a/cardHardDisk.go +++ b/cardHardDisk.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import "fmt" diff --git a/cardInOut.go b/cardInOut.go index 26ee120..696722d 100644 --- a/cardInOut.go +++ b/cardInOut.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "fmt" diff --git a/cardLanguage.go b/cardLanguage.go index c73e70f..6cd3e9d 100644 --- a/cardLanguage.go +++ b/cardLanguage.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* Language card with 16 extra kb for the Apple ][ and ][+ diff --git a/cardLogger.go b/cardLogger.go index 84a7399..6137707 100644 --- a/cardLogger.go +++ b/cardLogger.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "fmt" diff --git a/cardMemoryExpansion.go b/cardMemoryExpansion.go index 475c292..de34957 100644 --- a/cardMemoryExpansion.go +++ b/cardMemoryExpansion.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* Apple II Memory Expansion Card diff --git a/cardRGB.go b/cardRGB.go index b296a2a..432b5db 100644 --- a/cardRGB.go +++ b/cardRGB.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* Extended 80-Column Text AppleColor Card or Video7 RGB-SL7 card diff --git a/cardRamWorks.go b/cardRamWorks.go index b0d4b4b..268e561 100644 --- a/cardRamWorks.go +++ b/cardRamWorks.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* RAMWorks style card on the Apple IIe aus slot. diff --git a/cardSaturn.go b/cardSaturn.go index 7e224da..2628ae2 100644 --- a/cardSaturn.go +++ b/cardSaturn.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* RAM card with 128Kb. It's like 8 language cards. diff --git a/cardThunderClockPlus.go b/cardThunderClockPlus.go index 073e088..bb8f9dc 100644 --- a/cardThunderClockPlus.go +++ b/cardThunderClockPlus.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* ThunderClock`, real time clock card. diff --git a/cardVidHD.go b/cardVidHD.go index f262fae..9ca5d7c 100644 --- a/cardVidHD.go +++ b/cardVidHD.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* Simulates just what is needed to make Total Replay use the GS modes if the VidHD card is found diff --git a/characterGenerator.go b/characterGenerator.go index 2f06951..7e1bee1 100644 --- a/characterGenerator.go +++ b/characterGenerator.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "errors" diff --git a/diskette.go b/diskette.go index 2f638bc..7cc5212 100644 --- a/diskette.go +++ b/diskette.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "errors" diff --git a/diskette16sector.go b/diskette16sector.go index 43312a8..6c2abee 100644 --- a/diskette16sector.go +++ b/diskette16sector.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* See: diff --git a/diskette16sectorTimed.go b/diskette16sectorTimed.go index 65985cb..76d444d 100644 --- a/diskette16sectorTimed.go +++ b/diskette16sectorTimed.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 type diskette16sectorTimed struct { nib *fileNib diff --git a/diskette16sectorWritable.go b/diskette16sectorWritable.go index 4b40690..0c2266e 100644 --- a/diskette16sectorWritable.go +++ b/diskette16sectorWritable.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* See: diff --git a/disketteWoz.go b/disketteWoz.go index 418d326..ea3ad6f 100644 --- a/disketteWoz.go +++ b/disketteWoz.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "errors" diff --git a/dockerbuild/buildindocker.sh b/dockerbuild/buildindocker.sh index 2a1969d..eeeddd6 100644 --- a/dockerbuild/buildindocker.sh +++ b/dockerbuild/buildindocker.sh @@ -1,27 +1,27 @@ #!/bin/bash cd /tmp -git clone https://github.com/ivanizag/apple2 +git clone https://github.com/ivanizag/izapple2 -# Build apple2console for Linux -cd /tmp/apple2/apple2console +# Build izapple2console for Linux +cd /tmp/apple2/izapple2console go build . -chown --reference /build apple2console -cp apple2console /build +chown --reference /build izapple2console +cp izapple2console /build -# Build apple2console.exe for Windows -cd /tmp/apple2/apple2console -env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows CGO_LDFLAGS="-L/usr/x86_64-w64-mingw32/lib" CGO_FLAGS="-I/usr/x86_64-w64-mingw32/include -D_REENTRANT" go build -o apple2console.exe . -chown --reference /build apple2console.exe -cp apple2console.exe /build +# Build izapple2console.exe for Windows +cd /tmp/apple2/izapple2console +env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows CGO_LDFLAGS="-L/usr/x86_64-w64-mingw32/lib" CGO_FLAGS="-I/usr/x86_64-w64-mingw32/include -D_REENTRANT" go build -o izapple2console.exe . +chown --reference /build izapple2console.exe +cp izapple2console.exe /build -# Build apple2sdl for Linux -cd /tmp/apple2/apple2sdl +# Build izapple2sdl for Linux +cd /tmp/apple2/izapple2sdl go build . -chown --reference /build apple2sdl -cp apple2sdl /build +chown --reference /build izapple2sdl +cp izapple2sdl /build -# Build apple2sdl.exe for Windows -cd /tmp/apple2/apple2sdl -env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows CGO_LDFLAGS="-L/usr/x86_64-w64-mingw32/lib -lSDL2" CGO_FLAGS="-I/usr/x86_64-w64-mingw32/include -D_REENTRANT" go build -o apple2sdl.exe . -chown --reference /build apple2sdl.exe -cp apple2sdl.exe /build +# Build izapple2sdl.exe for Windows +cd /tmp/apple2/izapple2sdl +env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows CGO_LDFLAGS="-L/usr/x86_64-w64-mingw32/lib -lSDL2" CGO_FLAGS="-I/usr/x86_64-w64-mingw32/include -D_REENTRANT" go build -o izapple2sdl.exe . +chown --reference /build izapple2sdl.exe +cp izapple2sdl.exe /build diff --git a/file2mg.go b/file2mg.go index 5eadd5b..ece6c02 100644 --- a/file2mg.go +++ b/file2mg.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "encoding/binary" diff --git a/fileNib.go b/fileNib.go index 7516591..bd6051e 100644 --- a/fileNib.go +++ b/fileNib.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "errors" diff --git a/fileNib_test.go b/fileNib_test.go index ce710be..10500c8 100644 --- a/fileNib_test.go +++ b/fileNib_test.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "testing" diff --git a/fileWoz.go b/fileWoz.go index 47a62d9..caed076 100644 --- a/fileWoz.go +++ b/fileWoz.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "bytes" diff --git a/go.mod b/go.mod index e637ee5..7784dd4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ivanizag/apple2 +module github.com/ivanizag/izapple2 go 1.12 @@ -7,5 +7,4 @@ require ( github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd github.com/veandco/go-sdl2 v0.4.0-rc.1 - golang.org/x/tools v0.0.0-20191220234730-f13409bbebaf // indirect ) diff --git a/ioC0Page.go b/ioC0Page.go index 5b2a048..4b3e911 100644 --- a/ioC0Page.go +++ b/ioC0Page.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "fmt" diff --git a/apple2console/apple2console b/izapple2console/apple2console similarity index 100% rename from apple2console/apple2console rename to izapple2console/apple2console diff --git a/apple2console/main.go b/izapple2console/main.go similarity index 98% rename from apple2console/main.go rename to izapple2console/main.go index 4ce1dd8..ee7198a 100644 --- a/apple2console/main.go +++ b/izapple2console/main.go @@ -7,7 +7,7 @@ import ( "strings" "time" - apple2 "github.com/ivanizag/apple2" + apple2 "github.com/ivanizag/izapple2" ) func main() { diff --git a/apple2sdl/main.go b/izapple2sdl/main.go similarity index 86% rename from apple2sdl/main.go rename to izapple2sdl/main.go index 22baac6..03a97e7 100644 --- a/apple2sdl/main.go +++ b/izapple2sdl/main.go @@ -5,17 +5,18 @@ import ( "image" "unsafe" - "github.com/ivanizag/apple2" + "github.com/ivanizag/izapple2" + "github.com/pkg/profile" "github.com/veandco/go-sdl2/sdl" ) func main() { - a := apple2.MainApple() + a := izapple2.MainApple() if a != nil { if a.IsProfiling() { // See the log with: - // go tool pprof --pdf ~/go/bin/apple2sdl /tmp/profile329536248/cpu.pprof > profile.pdf + // go tool pprof --pdf ~/go/bin/izapple2sdl /tmp/profile329536248/cpu.pprof > profile.pdf defer profile.Start().Stop() } @@ -24,7 +25,7 @@ func main() { } // SDLRun starts the Apple2 emulator on SDL -func SDLRun(a *apple2.Apple2) { +func SDLRun(a *izapple2.Apple2) { window, renderer, err := sdl.CreateWindowAndRenderer(4*40*7, 4*24*8, sdl.WINDOW_SHOWN) @@ -35,7 +36,7 @@ func SDLRun(a *apple2.Apple2) { defer window.Destroy() defer renderer.Destroy() - window.SetTitle(a.Name) + window.SetTitle("iz-" + a.Name) kp := newSDLKeyBoard(a) a.SetKeyboardProvider(kp) @@ -55,7 +56,7 @@ func SDLRun(a *apple2.Apple2) { for event := sdl.PollEvent(); event != nil; event = sdl.PollEvent() { switch t := event.(type) { case *sdl.QuitEvent: - a.SendCommand(apple2.CommandKill) + a.SendCommand(izapple2.CommandKill) running = false case *sdl.KeyboardEvent: kp.putKey(t) @@ -76,9 +77,9 @@ func SDLRun(a *apple2.Apple2) { if paused != a.IsPaused() { if a.IsPaused() { - window.SetTitle(a.Name + " - PAUSED!") + window.SetTitle("iz-" + a.Name + " - PAUSED!") } else { - window.SetTitle(a.Name) + window.SetTitle("iz-" + a.Name) } paused = a.IsPaused() } diff --git a/apple2sdl/sdlJoysticks.go b/izapple2sdl/sdlJoysticks.go similarity index 100% rename from apple2sdl/sdlJoysticks.go rename to izapple2sdl/sdlJoysticks.go diff --git a/apple2sdl/sdlKeyboard.go b/izapple2sdl/sdlKeyboard.go similarity index 80% rename from apple2sdl/sdlKeyboard.go rename to izapple2sdl/sdlKeyboard.go index 82c13d9..4867ea6 100644 --- a/apple2sdl/sdlKeyboard.go +++ b/izapple2sdl/sdlKeyboard.go @@ -4,18 +4,18 @@ import ( "fmt" "unicode/utf8" - "github.com/ivanizag/apple2" + "github.com/ivanizag/izapple2" "github.com/veandco/go-sdl2/sdl" ) type sdlKeyboard struct { keyChannel chan uint8 - a *apple2.Apple2 + a *izapple2.Apple2 showPages bool } -func newSDLKeyBoard(a *apple2.Apple2) *sdlKeyboard { +func newSDLKeyBoard(a *izapple2.Apple2) *sdlKeyboard { var k sdlKeyboard k.keyChannel = make(chan uint8, 100) k.a = a @@ -98,33 +98,33 @@ func (k *sdlKeyboard) putKey(keyEvent *sdl.KeyboardEvent) { // Control of the emulator case sdl.K_F1: if ctrl { - k.a.SendCommand(apple2.CommandReset) + k.a.SendCommand(izapple2.CommandReset) } case sdl.K_F5: if ctrl { - k.a.SendCommand(apple2.CommandShowSpeed) + k.a.SendCommand(izapple2.CommandShowSpeed) } else { - k.a.SendCommand(apple2.CommandToggleSpeed) + k.a.SendCommand(izapple2.CommandToggleSpeed) } case sdl.K_F6: - k.a.SendCommand(apple2.CommandToggleColor) + k.a.SendCommand(izapple2.CommandToggleColor) case sdl.K_F7: k.showPages = !k.showPages case sdl.K_F9: - k.a.SendCommand(apple2.CommandDumpDebugInfo) + k.a.SendCommand(izapple2.CommandDumpDebugInfo) case sdl.K_F10: - k.a.SendCommand(apple2.CommandNextCharGenPage) + k.a.SendCommand(izapple2.CommandNextCharGenPage) case sdl.K_F11: - k.a.SendCommand(apple2.CommandToggleCPUTrace) + k.a.SendCommand(izapple2.CommandToggleCPUTrace) case sdl.K_F12: - err := apple2.SaveSnapshot(k.a, "snapshot.png") + err := izapple2.SaveSnapshot(k.a, "snapshot.png") if err != nil { fmt.Printf("Error saving snapshoot: %v.\n.", err) } else { fmt.Println("Saving snapshot") } case sdl.K_PAUSE: - k.a.SendCommand(apple2.CommandPauseUnpauseEmulator) + k.a.SendCommand(izapple2.CommandPauseUnpauseEmulator) } // Missing values 91 to 95. Usually control for [\]^_ diff --git a/apple2sdl/sdlSpeaker.go b/izapple2sdl/sdlSpeaker.go similarity index 93% rename from apple2sdl/sdlSpeaker.go rename to izapple2sdl/sdlSpeaker.go index 76cb3e0..e95a842 100644 --- a/apple2sdl/sdlSpeaker.go +++ b/izapple2sdl/sdlSpeaker.go @@ -10,7 +10,7 @@ import ( "reflect" "unsafe" - "github.com/ivanizag/apple2" + "github.com/ivanizag/izapple2" "github.com/veandco/go-sdl2/sdl" ) @@ -18,7 +18,7 @@ const ( samplingHz = 48000 bufferSize = 1000 // bufferSize/samplingHz will be the max delay of the sound - sampleDurationCycles = 1000000 * apple2.CPUClockMhz / samplingHz + sampleDurationCycles = 1000000 * izapple2.CPUClockMhz / samplingHz // each sample on the sound stream is 21.31 cpu cycles approx maxOutOfSyncMs = 2000 decayLevel = 128 @@ -49,10 +49,10 @@ func newSDLSpeaker() *sdlSpeaker { // Click receives a speaker click. The argument is the CPU cycle when it is generated func (s *sdlSpeaker) Click(cycle uint64) { select { - case s.clickChannel <- cycle: - // Sent - default: - // The channel is full, the click is lost. + case s.clickChannel <- cycle: + // Sent + default: + // The channel is full, the click is lost. } } @@ -88,7 +88,7 @@ func SpeakerCallback(userdata unsafe.Pointer, stream *C.Uint8, length C.int) { } // Verify that we are not too long behind - var maxOutOfSyncCyclesFloat = 1000 * apple2.CPUClockMhz * maxOutOfSyncMs + var maxOutOfSyncCyclesFloat = 1000 * izapple2.CPUClockMhz * maxOutOfSyncMs var maxOutOfSyncCycles = uint64(maxOutOfSyncCyclesFloat) for _, pc := range s.pendingClicks { if pc-s.lastCycle > maxOutOfSyncCycles { diff --git a/memoryManager.go b/memoryManager.go index 2bd8de2..9e46098 100644 --- a/memoryManager.go +++ b/memoryManager.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import "fmt" diff --git a/memoryRange.go b/memoryRange.go index 0f5e635..36f9051 100644 --- a/memoryRange.go +++ b/memoryRange.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "fmt" diff --git a/microPD1990ac.go b/microPD1990ac.go index c5c02b5..362e033 100644 --- a/microPD1990ac.go +++ b/microPD1990ac.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "time" diff --git a/noSlotClockDS1216.go b/noSlotClockDS1216.go index c1b35fd..4b3bc8c 100644 --- a/noSlotClockDS1216.go +++ b/noSlotClockDS1216.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "time" diff --git a/resources.go b/resources.go index c107ee9..aa8a450 100644 --- a/resources.go +++ b/resources.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "io" @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/ivanizag/apple2/romdumps" + "github.com/ivanizag/izapple2/romdumps" ) const ( diff --git a/screen.go b/screen.go index 5a20743..159ec0a 100644 --- a/screen.go +++ b/screen.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "fmt" diff --git a/screenDebugParts.go b/screenDebugParts.go index accbca5..2838c63 100644 --- a/screenDebugParts.go +++ b/screenDebugParts.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "image" diff --git a/screenDoubleHiRes.go b/screenDoubleHiRes.go index 4233788..df0c8d1 100644 --- a/screenDoubleHiRes.go +++ b/screenDoubleHiRes.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "image" diff --git a/screenHiRes.go b/screenHiRes.go index fc72d1d..76bd336 100644 --- a/screenHiRes.go +++ b/screenHiRes.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "image" diff --git a/screenHiRes_test.go b/screenHiRes_test.go index 8d7e6ab..d6c440c 100644 --- a/screenHiRes_test.go +++ b/screenHiRes_test.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "testing" diff --git a/screenLoRes.go b/screenLoRes.go index cb60299..2229026 100644 --- a/screenLoRes.go +++ b/screenLoRes.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "image" diff --git a/screenNtscFilter.go b/screenNtscFilter.go index c90705b..a390b61 100644 --- a/screenNtscFilter.go +++ b/screenNtscFilter.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "image" diff --git a/screenSuperHiRes.go b/screenSuperHiRes.go index e54c77a..4109a4d 100644 --- a/screenSuperHiRes.go +++ b/screenSuperHiRes.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "image" diff --git a/screenText.go b/screenText.go index 332c6ed..3006e24 100644 --- a/screenText.go +++ b/screenText.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "fmt" diff --git a/screenText_test.go b/screenText_test.go index 2a89597..b5a6e43 100644 --- a/screenText_test.go +++ b/screenText_test.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import ( "testing" diff --git a/softSwitches2.go b/softSwitches2.go index a62820a..329af0e 100644 --- a/softSwitches2.go +++ b/softSwitches2.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 const ( ioDataKeyboard uint8 = 0x10 diff --git a/softSwitches2e.go b/softSwitches2e.go index 1859c7c..6179cb3 100644 --- a/softSwitches2e.go +++ b/softSwitches2e.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 /* See: diff --git a/traceProDOS.go b/traceProDOS.go index aade8a9..bccaabe 100644 --- a/traceProDOS.go +++ b/traceProDOS.go @@ -1,4 +1,4 @@ -package apple2 +package izapple2 import "fmt"