zemu 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/zemu/config.rb +312 -0
- data/lib/zemu/instance.rb +179 -0
- data/lib/zemu.rb +172 -0
- data/src/debug.c +118 -0
- data/src/debug.h +30 -0
- data/src/external/Z/API/Z/ABIs/generic/allocator.h +36 -0
- data/src/external/Z/API/Z/ABIs/generic/cipher.h +47 -0
- data/src/external/Z/API/Z/ABIs/generic/data codec.h +33 -0
- data/src/external/Z/API/Z/ABIs/generic/emulation.h +103 -0
- data/src/external/Z/API/Z/ABIs/generic/hash function.h +33 -0
- data/src/external/Z/API/Z/ABIs/generic/module.h +33 -0
- data/src/external/Z/API/Z/ABIs/generic/wave codec.h +40 -0
- data/src/external/Z/API/Z/classes/base/InitializerList.hpp +34 -0
- data/src/external/Z/API/Z/classes/base/OpaqueFunctionPointer.hpp +26 -0
- data/src/external/Z/API/Z/classes/base/OpaqueMemberFunctionPointer.hpp +26 -0
- data/src/external/Z/API/Z/classes/base/Pair.hpp +46 -0
- data/src/external/Z/API/Z/classes/base/Range.hpp +111 -0
- data/src/external/Z/API/Z/classes/base/SizedString.hpp +66 -0
- data/src/external/Z/API/Z/classes/base/Status.hpp +89 -0
- data/src/external/Z/API/Z/classes/base/Symbol.hpp +39 -0
- data/src/external/Z/API/Z/classes/base/Tuple.hpp +111 -0
- data/src/external/Z/API/Z/classes/base/Value2D.hpp +389 -0
- data/src/external/Z/API/Z/classes/base/Value3D.hpp +368 -0
- data/src/external/Z/API/Z/classes/buffering/RingBuffer.hpp +93 -0
- data/src/external/Z/API/Z/classes/buffering/TripleBuffer.hpp +68 -0
- data/src/external/Z/API/Z/classes/functional/Functor.hpp +265 -0
- data/src/external/Z/API/Z/classes/functional/MemberFunction.hpp +98 -0
- data/src/external/Z/API/Z/classes/functional/ObjectMemberFunction.hpp +172 -0
- data/src/external/Z/API/Z/classes/functional/ObjectSelector.hpp +219 -0
- data/src/external/Z/API/Z/classes/functional/Selector.hpp +146 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/AABB.hpp +81 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/AABR.hpp +685 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Box.hpp +219 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Circle.hpp +80 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Line2D.hpp +93 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Line3D.hpp +80 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Rectangle.hpp +675 -0
- data/src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Sphere.hpp +0 -0
- data/src/external/Z/API/Z/classes/memory/Shared.hpp +90 -0
- data/src/external/Z/API/Z/constants/base.h +35 -0
- data/src/external/Z/API/Z/constants/chemical elements.h +6385 -0
- data/src/external/Z/API/Z/constants/numbers.h +963 -0
- data/src/external/Z/API/Z/constants/version.h +15 -0
- data/src/external/Z/API/Z/formats/character set/ASCII.h +158 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP437.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP737.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP775.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP850.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP852.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP855.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP857.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP858.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP860.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP861.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP862.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP863.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP864.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP865.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP866.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP869.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP872.h +159 -0
- data/src/external/Z/API/Z/formats/character set/DOS CP874.h +159 -0
- data/src/external/Z/API/Z/formats/character set/Unicode.h +30119 -0
- data/src/external/Z/API/Z/formats/data model/I16LP32.h +19 -0
- data/src/external/Z/API/Z/formats/data model/ILP32.h +19 -0
- data/src/external/Z/API/Z/formats/data model/ILP64.h +19 -0
- data/src/external/Z/API/Z/formats/data model/IP16L32.h +19 -0
- data/src/external/Z/API/Z/formats/data model/LLP64.h +19 -0
- data/src/external/Z/API/Z/formats/data model/LP32.h +19 -0
- data/src/external/Z/API/Z/formats/data model/LP64.h +19 -0
- data/src/external/Z/API/Z/formats/data model/SILP64.h +19 -0
- data/src/external/Z/API/Z/formats/file system/FAT12.h +61 -0
- data/src/external/Z/API/Z/formats/floating-point/IEEE 754.h +141 -0
- data/src/external/Z/API/Z/formats/floating-point/x87.h +74 -0
- data/src/external/Z/API/Z/formats/image/ICNS.h +39 -0
- data/src/external/Z/API/Z/formats/keymap/Mac OS.h +284 -0
- data/src/external/Z/API/Z/formats/keymap/Z.h +141 -0
- data/src/external/Z/API/Z/formats/multimedia/Creative Voice.h +106 -0
- data/src/external/Z/API/Z/formats/multimedia/Microsoft Wave.h +49 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ACH.h +44 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/FRZ.h +54 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/PRG.h +33 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SEM.h +46 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SIT.h +34 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SNA.h +117 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SNP.h +37 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SP.h +62 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/Z80.h +117 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ZX.h +56 -0
- data/src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ZX82.h +70 -0
- data/src/external/Z/API/Z/formats/storage medium image/NES Game Pak/UNIF.h +26 -0
- data/src/external/Z/API/Z/formats/storage medium image/NES Game Pak/iNES.h +76 -0
- data/src/external/Z/API/Z/formats/storage medium image/audio/TAP.h +25 -0
- data/src/external/Z/API/Z/formats/storage medium image/audio/TZX.h +1185 -0
- data/src/external/Z/API/Z/formats/storage medium image/audio/Warajevo TAP.h +32 -0
- data/src/external/Z/API/Z/formats/storage medium image/floppy disk/FDI.h +45 -0
- data/src/external/Z/API/Z/functions/base/Z2D.h +583 -0
- data/src/external/Z/API/Z/functions/base/Z3D.h +712 -0
- data/src/external/Z/API/Z/functions/base/ZRange.h +137 -0
- data/src/external/Z/API/Z/functions/base/all.h +16 -0
- data/src/external/Z/API/Z/functions/base/casting.hpp +37 -0
- data/src/external/Z/API/Z/functions/base/character.h +38 -0
- data/src/external/Z/API/Z/functions/base/constructors.h +326 -0
- data/src/external/Z/API/Z/functions/base/structure.hpp +26 -0
- data/src/external/Z/API/Z/functions/base/type.hpp +60 -0
- data/src/external/Z/API/Z/functions/base/value.h +1901 -0
- data/src/external/Z/API/Z/functions/base/value.hpp +112 -0
- data/src/external/Z/API/Z/functions/buffering/ZRingBuffer.h +85 -0
- data/src/external/Z/API/Z/functions/buffering/ZTripleBuffer.h +65 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/Z2DLine.h +179 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/Z3DLine.h +168 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZAABB.h +361 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZAABR.h +1081 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZBox.h +340 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZCircle.h +142 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZRectangle.h +1267 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZSphere.h +156 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/all.h +18 -0
- data/src/external/Z/API/Z/functions/mathematics/geometry/euclidean/constructors.h +620 -0
- data/src/external/Z/API/Z/functions/time/date.h +29 -0
- data/src/external/Z/API/Z/hardware/CPU/architecture/6502.h +90 -0
- data/src/external/Z/API/Z/hardware/CPU/architecture/Z80.h +245 -0
- data/src/external/Z/API/Z/hardware/CPU/architecture/i4004.h +37 -0
- data/src/external/Z/API/Z/hardware/PSG/General Instrument/AY-3-891x.h +180 -0
- data/src/external/Z/API/Z/hardware/VDC/Ricoh/RP2C0x.h +625 -0
- data/src/external/Z/API/Z/hardware/bus/AGP.h +24 -0
- data/src/external/Z/API/Z/hardware/bus/USB.h +510 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Inves Spectrum +.h +47 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Pentagon.h +13 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Scorpion.h +13 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum + 128K.h +158 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +.h +82 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +2.h +13 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +2A.h +13 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +3.h +13 -0
- data/src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum.h +109 -0
- data/src/external/Z/API/Z/hardware/machine/model/console/Nintendo Entertainment System/NES-001 (NTSC).h +29 -0
- data/src/external/Z/API/Z/hardware/machine/model/console/Nintendo Entertainment System/NES-001 (PAL).h +29 -0
- data/src/external/Z/API/Z/hardware/machine/platform/computer/ZX Spectrum.h +405 -0
- data/src/external/Z/API/Z/hardware/machine/platform/console/Game Boy.h +49 -0
- data/src/external/Z/API/Z/hardware/machine/platform/console/Nintendo Entertainment System.h +350 -0
- data/src/external/Z/API/Z/hardware/storage medium/ROM cartridge/SNES Game Pak.h +238 -0
- data/src/external/Z/API/Z/inspection/C/completion.h +178 -0
- data/src/external/Z/API/Z/inspection/C/modules/C11.h +41 -0
- data/src/external/Z/API/Z/inspection/C/modules/C18.h +13 -0
- data/src/external/Z/API/Z/inspection/C/modules/C89.h +19 -0
- data/src/external/Z/API/Z/inspection/C/modules/C90.h +13 -0
- data/src/external/Z/API/Z/inspection/C/modules/C94.h +15 -0
- data/src/external/Z/API/Z/inspection/C/modules/C99.h +29 -0
- data/src/external/Z/API/Z/inspection/C/modules/KR C.h +19 -0
- data/src/external/Z/API/Z/inspection/C++/completion.h +512 -0
- data/src/external/Z/API/Z/inspection/C++/modules/C++03.h +15 -0
- data/src/external/Z/API/Z/inspection/C++/modules/C++11.h +80 -0
- data/src/external/Z/API/Z/inspection/C++/modules/C++14.h +26 -0
- data/src/external/Z/API/Z/inspection/C++/modules/C++17.h +55 -0
- data/src/external/Z/API/Z/inspection/C++/modules/C++85.h +11 -0
- data/src/external/Z/API/Z/inspection/C++/modules/C++89.h +13 -0
- data/src/external/Z/API/Z/inspection/C++/modules/C++98.h +17 -0
- data/src/external/Z/API/Z/inspection/C++.h +78 -0
- data/src/external/Z/API/Z/inspection/C.h +79 -0
- data/src/external/Z/API/Z/inspection/CPU/completion.h +56 -0
- data/src/external/Z/API/Z/inspection/CPU/detection.h +714 -0
- data/src/external/Z/API/Z/inspection/CPU/modules/6502.h +25 -0
- data/src/external/Z/API/Z/inspection/CPU/modules/AArch32.h +32 -0
- data/src/external/Z/API/Z/inspection/CPU/modules/AArch64.h +32 -0
- data/src/external/Z/API/Z/inspection/CPU/modules/Z80.h +26 -0
- data/src/external/Z/API/Z/inspection/CPU/modules/x86-32.h +31 -0
- data/src/external/Z/API/Z/inspection/CPU/modules/x86-64.h +312 -0
- data/src/external/Z/API/Z/inspection/CPU.h +209 -0
- data/src/external/Z/API/Z/inspection/OS/completion.h +36 -0
- data/src/external/Z/API/Z/inspection/OS/detection.h +768 -0
- data/src/external/Z/API/Z/inspection/OS/modules/Linux.h +22 -0
- data/src/external/Z/API/Z/inspection/OS/modules/MS-DOS.h +16 -0
- data/src/external/Z/API/Z/inspection/OS/modules/Mac OS X.h +23 -0
- data/src/external/Z/API/Z/inspection/OS/modules/Windows.h +19 -0
- data/src/external/Z/API/Z/inspection/OS/modules/iPhone OS.h +23 -0
- data/src/external/Z/API/Z/inspection/OS.h +236 -0
- data/src/external/Z/API/Z/inspection/Objective-C/completion.h +8 -0
- data/src/external/Z/API/Z/inspection/Objective-C/modules/Objective-C v1.0.h +11 -0
- data/src/external/Z/API/Z/inspection/Objective-C/modules/Objective-C v2.0.h +15 -0
- data/src/external/Z/API/Z/inspection/Objective-C.h +51 -0
- data/src/external/Z/API/Z/inspection/Z.h +19 -0
- data/src/external/Z/API/Z/inspection/build.h +22 -0
- data/src/external/Z/API/Z/inspection/character set.h +66 -0
- data/src/external/Z/API/Z/inspection/compiler/completion.h +2885 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/Apple LLVM.h +26 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/Clang.h +1664 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/GCC.h +1366 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/SCCZ80.h +473 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/Visual C++.h +606 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/cc65.h +529 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/generic.h +13 -0
- data/src/external/Z/API/Z/inspection/compiler/modules/template.h +650 -0
- data/src/external/Z/API/Z/inspection/compiler.h +299 -0
- data/src/external/Z/API/Z/inspection/data model/completion.h +128 -0
- data/src/external/Z/API/Z/inspection/data model/deduction.h +9 -0
- data/src/external/Z/API/Z/inspection/data model/detection.h +45 -0
- data/src/external/Z/API/Z/inspection/data model.h +362 -0
- data/src/external/Z/API/Z/inspection/floating-point/completion.h +50 -0
- data/src/external/Z/API/Z/inspection/floating-point.h +324 -0
- data/src/external/Z/API/Z/inspection/language.h +163 -0
- data/src/external/Z/API/Z/inspection/platform/detection.h +9 -0
- data/src/external/Z/API/Z/inspection/platform.h +29 -0
- data/src/external/Z/API/Z/keys/C++.h +27 -0
- data/src/external/Z/API/Z/keys/C.h +29 -0
- data/src/external/Z/API/Z/keys/CPU.h +80 -0
- data/src/external/Z/API/Z/keys/OS.h +182 -0
- data/src/external/Z/API/Z/keys/Objective-C.h +17 -0
- data/src/external/Z/API/Z/keys/chemistry.h +26 -0
- data/src/external/Z/API/Z/keys/compiler.h +178 -0
- data/src/external/Z/API/Z/keys/data model.h +32 -0
- data/src/external/Z/API/Z/keys/endianness.h +24 -0
- data/src/external/Z/API/Z/keys/language.h +21 -0
- data/src/external/Z/API/Z/keys/layout.h +20 -0
- data/src/external/Z/API/Z/keys/mathematics/geometry.h +29 -0
- data/src/external/Z/API/Z/keys/mathematics/number.h +21 -0
- data/src/external/Z/API/Z/keys/order.h +18 -0
- data/src/external/Z/API/Z/keys/platform.h +87 -0
- data/src/external/Z/API/Z/keys/program.h +39 -0
- data/src/external/Z/API/Z/keys/science/chemical elements.h +200 -0
- data/src/external/Z/API/Z/keys/science/electricity.h +18 -0
- data/src/external/Z/API/Z/keys/science/magnetism.h +19 -0
- data/src/external/Z/API/Z/keys/status.h +69 -0
- data/src/external/Z/API/Z/keys/text.h +27 -0
- data/src/external/Z/API/Z/keys/value.h +88 -0
- data/src/external/Z/API/Z/macros/arguments.h +25 -0
- data/src/external/Z/API/Z/macros/casting.h +22 -0
- data/src/external/Z/API/Z/macros/character.h +159 -0
- data/src/external/Z/API/Z/macros/date.h +14 -0
- data/src/external/Z/API/Z/macros/key.h +20 -0
- data/src/external/Z/API/Z/macros/language.h +126 -0
- data/src/external/Z/API/Z/macros/language.hpp +81 -0
- data/src/external/Z/API/Z/macros/members.h +86 -0
- data/src/external/Z/API/Z/macros/pasting.h +308 -0
- data/src/external/Z/API/Z/macros/pointer.h +33 -0
- data/src/external/Z/API/Z/macros/repetition.h +283 -0
- data/src/external/Z/API/Z/macros/structure.h +104 -0
- data/src/external/Z/API/Z/macros/templating.h +407 -0
- data/src/external/Z/API/Z/macros/tokens.h +14 -0
- data/src/external/Z/API/Z/macros/type enumeration.h +43 -0
- data/src/external/Z/API/Z/macros/type selection.hpp +76 -0
- data/src/external/Z/API/Z/macros/value.h +489 -0
- data/src/external/Z/API/Z/macros/variadic pasting.h +21 -0
- data/src/external/Z/API/Z/macros/variadic selection.h +56 -0
- data/src/external/Z/API/Z/macros/variadic.h +46 -0
- data/src/external/Z/API/Z/macros/version.h +17 -0
- data/src/external/Z/API/Z/network/3/IP.h +36 -0
- data/src/external/Z/API/Z/network/4/TCP.h +24 -0
- data/src/external/Z/API/Z/network/4/UDP.h +26 -0
- data/src/external/Z/API/Z/network/7/ED2K.h +104 -0
- data/src/external/Z/API/Z/network/7/HTTP.h +100 -0
- data/src/external/Z/API/Z/traits/SelectType.hpp +71 -0
- data/src/external/Z/API/Z/traits/TernaryType.hpp +20 -0
- data/src/external/Z/API/Z/traits/Type.hpp +4516 -0
- data/src/external/Z/API/Z/traits/TypeCount.hpp +52 -0
- data/src/external/Z/API/Z/traits/TypeList.hpp +376 -0
- data/src/external/Z/API/Z/traits/base.hpp +19 -0
- data/src/external/Z/API/Z/traits/filtering.hpp +30 -0
- data/src/external/Z/API/Z/traits/mathematics.hpp +48 -0
- data/src/external/Z/API/Z/types/arguments.h +19 -0
- data/src/external/Z/API/Z/types/base.h +1655 -0
- data/src/external/Z/API/Z/types/base.hpp +169 -0
- data/src/external/Z/API/Z/types/buffering.h +27 -0
- data/src/external/Z/API/Z/types/mathematics.h +135 -0
- data/src/external/Z/API/Z/types/time.h +23 -0
- data/src/external/Z/COPYING.LESSER +165 -0
- data/src/external/Z/development/Qt Creator/Z.pro +253 -0
- data/src/external/Z/distribution/CocoaPods/Zeta.podspec +18 -0
- data/src/external/Z/distribution/Gentoo Linux/Zeta-0.1.ebuild +22 -0
- data/src/external/Z/distribution/Gentoo Linux/metadata.xml +8 -0
- data/src/external/Z/distribution/Homebrew/Zeta.rb +11 -0
- data/src/external/z80/API/emulation/CPU/Z80.h +201 -0
- data/src/external/z80/README.md +229 -0
- data/src/external/z80/building/premake4.lua +33 -0
- data/src/external/z80/development/Xcode/Z80.xcodeproj/project.pbxproj +520 -0
- data/src/external/z80/sources/Z80.c +1660 -0
- data/src/interrupt.c +6 -0
- data/src/interrupt.h +3 -0
- data/src/io.c.erb +115 -0
- data/src/io.h.erb +18 -0
- data/src/main.c +69 -0
- data/src/memory.c.erb +43 -0
- data/src/memory.h.erb +9 -0
- metadata +329 -0
data/src/interrupt.c
ADDED
data/src/interrupt.h
ADDED
data/src/io.c.erb
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
#include "io.h"
|
2
|
+
|
3
|
+
<% io.each do |device| %>
|
4
|
+
<% if device.io_type == :serial %>
|
5
|
+
/* Buffer to which the master pushes data, slave pulls. */
|
6
|
+
SerialBuffer io_serial_buffer_master = { .head = 0, .tail = 0 };
|
7
|
+
|
8
|
+
/* Buffer to which the slave pushes data, master pulls. */
|
9
|
+
SerialBuffer io_serial_buffer_slave = { .head = 0, .tail = 0 };
|
10
|
+
<% end %>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
zusize zemu_io_serial_buffer_size(void)
|
14
|
+
{
|
15
|
+
<% unless io.empty? %>
|
16
|
+
zusize start = io_serial_buffer_slave.head;
|
17
|
+
zusize end = io_serial_buffer_slave.tail;
|
18
|
+
|
19
|
+
if (end < start)
|
20
|
+
{
|
21
|
+
end += ZEMU_IO_SERIAL_BUFFER_SIZE;
|
22
|
+
}
|
23
|
+
|
24
|
+
return end - start;
|
25
|
+
<% else %>
|
26
|
+
return 0;
|
27
|
+
<% end %>
|
28
|
+
}
|
29
|
+
|
30
|
+
void zemu_io_serial_slave_puts(zuint8 val)
|
31
|
+
{
|
32
|
+
<% unless io.empty? %>
|
33
|
+
io_serial_buffer_slave.buffer[io_serial_buffer_slave.tail] = val;
|
34
|
+
io_serial_buffer_slave.tail++;
|
35
|
+
|
36
|
+
if (io_serial_buffer_slave.tail >= ZEMU_IO_SERIAL_BUFFER_SIZE)
|
37
|
+
io_serial_buffer_slave.tail = 0;
|
38
|
+
<% end %>
|
39
|
+
}
|
40
|
+
|
41
|
+
zuint8 zemu_io_serial_slave_gets(void)
|
42
|
+
{
|
43
|
+
<% unless io.empty? %>
|
44
|
+
zuint8 val = io_serial_buffer_master.buffer[io_serial_buffer_master.head];
|
45
|
+
io_serial_buffer_master.head++;
|
46
|
+
|
47
|
+
if (io_serial_buffer_master.head >= ZEMU_IO_SERIAL_BUFFER_SIZE)
|
48
|
+
io_serial_buffer_master.head = 0;
|
49
|
+
|
50
|
+
return val;
|
51
|
+
<% else %>
|
52
|
+
return 0;
|
53
|
+
<% end %>
|
54
|
+
}
|
55
|
+
|
56
|
+
void zemu_io_serial_master_puts(zuint8 val)
|
57
|
+
{
|
58
|
+
<% unless io.empty? %>
|
59
|
+
io_serial_buffer_master.buffer[io_serial_buffer_master.tail] = val;
|
60
|
+
io_serial_buffer_master.tail++;
|
61
|
+
|
62
|
+
if (io_serial_buffer_master.tail >= ZEMU_IO_SERIAL_BUFFER_SIZE)
|
63
|
+
io_serial_buffer_master.tail = 0;
|
64
|
+
<% end %>
|
65
|
+
}
|
66
|
+
|
67
|
+
zuint8 zemu_io_serial_master_gets(void)
|
68
|
+
{
|
69
|
+
<% unless io.empty? %>
|
70
|
+
zuint8 val = io_serial_buffer_slave.buffer[io_serial_buffer_slave.head];
|
71
|
+
io_serial_buffer_slave.head++;
|
72
|
+
|
73
|
+
if (io_serial_buffer_slave.head >= ZEMU_IO_SERIAL_BUFFER_SIZE)
|
74
|
+
io_serial_buffer_slave.head = 0;
|
75
|
+
|
76
|
+
return val;
|
77
|
+
<% else %>
|
78
|
+
return 0;
|
79
|
+
<% end %>
|
80
|
+
}
|
81
|
+
|
82
|
+
zuint8 zemu_io_in(void * context, zuint16 port)
|
83
|
+
{
|
84
|
+
/* Z80 IO ports occupy the lower half of the address bus.
|
85
|
+
* We cannot assume that the top half is valid.
|
86
|
+
*/
|
87
|
+
port &= 0x00FF;
|
88
|
+
|
89
|
+
<% io.each do |device| %>
|
90
|
+
<% if device.io_type == :serial %>
|
91
|
+
if (port == <%= device.in_port %>)
|
92
|
+
{
|
93
|
+
return zemu_io_serial_slave_gets();
|
94
|
+
}
|
95
|
+
<% end %>
|
96
|
+
<% end %>
|
97
|
+
return 0;
|
98
|
+
}
|
99
|
+
|
100
|
+
void zemu_io_out(void * context, zuint16 port, zuint8 value)
|
101
|
+
{
|
102
|
+
/* Z80 IO ports occupy the lower half of the address bus.
|
103
|
+
* We cannot assume that the top half is valid.
|
104
|
+
*/
|
105
|
+
port &= 0x00FF;
|
106
|
+
|
107
|
+
<% io.each do |device| %>
|
108
|
+
<% if device.io_type == :serial %>
|
109
|
+
if (port == <%= device.out_port %>)
|
110
|
+
{
|
111
|
+
zemu_io_serial_slave_puts(value);
|
112
|
+
}
|
113
|
+
<% end %>
|
114
|
+
<% end %>
|
115
|
+
}
|
data/src/io.h.erb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
#include "emulation/CPU/Z80.h"
|
2
|
+
|
3
|
+
#ifndef ZEMU_IO_SERIAL_BUFFER_SIZE
|
4
|
+
#define ZEMU_IO_SERIAL_BUFFER_SIZE 256
|
5
|
+
#endif
|
6
|
+
|
7
|
+
typedef struct {
|
8
|
+
zuint8 buffer[ZEMU_IO_SERIAL_BUFFER_SIZE];
|
9
|
+
unsigned int head;
|
10
|
+
unsigned int tail;
|
11
|
+
} SerialBuffer;
|
12
|
+
|
13
|
+
void zemu_io_serial_master_puts(zuint8 val);
|
14
|
+
zuint8 zemu_io_serial_master_gets(void);
|
15
|
+
zusize zemu_io_serial_buffer_size(void);
|
16
|
+
|
17
|
+
zuint8 zemu_io_in(void * context, zuint16 port);
|
18
|
+
void zemu_io_out(void * context, zuint16 port, zuint8 value);
|
data/src/main.c
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
#include <stdlib.h>
|
2
|
+
|
3
|
+
#include "emulation/CPU/Z80.h"
|
4
|
+
|
5
|
+
#include "debug.h"
|
6
|
+
|
7
|
+
#include "memory.h"
|
8
|
+
#include "io.h"
|
9
|
+
#include "interrupt.h"
|
10
|
+
|
11
|
+
/* Allocate and initialize a Z80 instance.
|
12
|
+
* Return a pointer to the instance so that it can be used
|
13
|
+
* by other functions.
|
14
|
+
*/
|
15
|
+
Z80 * zemu_init(void)
|
16
|
+
{
|
17
|
+
Z80 * instance = malloc(sizeof(Z80));
|
18
|
+
|
19
|
+
/* Not sure what context needs to be initialized to.
|
20
|
+
* NULL for now. This will inevitably break.
|
21
|
+
*/
|
22
|
+
instance->context = NULL;
|
23
|
+
|
24
|
+
/* Memory read and write callbacks.
|
25
|
+
* These are autogenerated in memory.c/memory.h.
|
26
|
+
*/
|
27
|
+
instance->read = zemu_memory_read;
|
28
|
+
instance->write = zemu_memory_write;
|
29
|
+
|
30
|
+
/* IO read and write callbacks.
|
31
|
+
* These are autogenerated in io.c/io.h
|
32
|
+
*/
|
33
|
+
instance->in = zemu_io_in;
|
34
|
+
instance->out = zemu_io_out;
|
35
|
+
|
36
|
+
/* Interrupt opcode fetch callback.
|
37
|
+
* This is autogenerated in interrupt.c/interrupt.h.
|
38
|
+
*/
|
39
|
+
instance->int_data = zemu_interrupt_int_data;
|
40
|
+
|
41
|
+
/* HALT callback.
|
42
|
+
* Set to NULL for now.
|
43
|
+
* This will need to be set so we can see if the CPU is halted.
|
44
|
+
*/
|
45
|
+
instance->halt = zemu_debug_halt;
|
46
|
+
|
47
|
+
/* Return the now-initialized instance. */
|
48
|
+
return instance;
|
49
|
+
}
|
50
|
+
|
51
|
+
void zemu_free(Z80 * instance)
|
52
|
+
{
|
53
|
+
free(instance);
|
54
|
+
}
|
55
|
+
|
56
|
+
void zemu_power_on(Z80 * instance)
|
57
|
+
{
|
58
|
+
z80_power(instance, TRUE);
|
59
|
+
}
|
60
|
+
|
61
|
+
void zemu_power_off(Z80 * instance)
|
62
|
+
{
|
63
|
+
z80_power(instance, FALSE);
|
64
|
+
}
|
65
|
+
|
66
|
+
void zemu_reset(Z80 * instance)
|
67
|
+
{
|
68
|
+
z80_reset(instance);
|
69
|
+
}
|
data/src/memory.c.erb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
#include "memory.h"
|
2
|
+
|
3
|
+
<% memory.each do |mem| %>
|
4
|
+
/* Initialization memory block "<%= mem.name %>" */
|
5
|
+
<%= mem.readonly? ? "const " : "" %>zuint8 zemu_memory_block_<%= mem.name %>[0x<%= mem.size.to_s(16) %>] =
|
6
|
+
{<% mem.contents.each_with_index do |b, i| %><%= (i % 16 == 0) ? "\n " : "" %><%= ("0x%02x, " % b) %><% end %>
|
7
|
+
};
|
8
|
+
<% end %>
|
9
|
+
|
10
|
+
zuint8 zemu_memory_read(void * context, zuint16 address)
|
11
|
+
{
|
12
|
+
<% memory.each do |mem| %>
|
13
|
+
if (address >= 0x<%= mem.address.to_s(16) %> && address < 0x<%= (mem.address + mem.size).to_s(16) %>)
|
14
|
+
{
|
15
|
+
return zemu_memory_block_<%= mem.name %>[address - 0x<%= mem.address.to_s(16) %>];
|
16
|
+
}
|
17
|
+
<% end %>
|
18
|
+
/* Unmapped memory has a value of 0. */
|
19
|
+
return 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
void zemu_memory_write(void * context, zuint16 address, zuint8 value)
|
23
|
+
{
|
24
|
+
<% memory.each do |mem| %>
|
25
|
+
<% next if mem.readonly? %>
|
26
|
+
if (address >= 0x<%= mem.address.to_s(16) %> && address < 0x<%= (mem.address + mem.size).to_s(16) %>)
|
27
|
+
{
|
28
|
+
zemu_memory_block_<%= mem.name %>[address - 0x<%= mem.address.to_s(16) %>] = value;
|
29
|
+
}
|
30
|
+
<% end %>
|
31
|
+
}
|
32
|
+
|
33
|
+
zuint8 zemu_memory_peek(zuint16 address)
|
34
|
+
{
|
35
|
+
<% memory.each do |mem| %>
|
36
|
+
if (address >= 0x<%= mem.address.to_s(16) %> && address < 0x<%= (mem.address + mem.size).to_s(16) %>)
|
37
|
+
{
|
38
|
+
return zemu_memory_block_<%= mem.name %>[address - 0x<%= mem.address.to_s(16) %>];
|
39
|
+
}
|
40
|
+
<% end %>
|
41
|
+
/* Unmapped memory has a value of 0. */
|
42
|
+
return 0;
|
43
|
+
}
|
data/src/memory.h.erb
ADDED
metadata
ADDED
@@ -0,0 +1,329 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zemu
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jay Valentine
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A configurable Z80 emulator gem
|
14
|
+
email: jayv136@gmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/zemu.rb
|
20
|
+
- lib/zemu/config.rb
|
21
|
+
- lib/zemu/instance.rb
|
22
|
+
- src/debug.c
|
23
|
+
- src/debug.h
|
24
|
+
- src/external/Z/API/Z/ABIs/generic/allocator.h
|
25
|
+
- src/external/Z/API/Z/ABIs/generic/cipher.h
|
26
|
+
- src/external/Z/API/Z/ABIs/generic/data codec.h
|
27
|
+
- src/external/Z/API/Z/ABIs/generic/emulation.h
|
28
|
+
- src/external/Z/API/Z/ABIs/generic/hash function.h
|
29
|
+
- src/external/Z/API/Z/ABIs/generic/module.h
|
30
|
+
- src/external/Z/API/Z/ABIs/generic/wave codec.h
|
31
|
+
- src/external/Z/API/Z/classes/base/InitializerList.hpp
|
32
|
+
- src/external/Z/API/Z/classes/base/OpaqueFunctionPointer.hpp
|
33
|
+
- src/external/Z/API/Z/classes/base/OpaqueMemberFunctionPointer.hpp
|
34
|
+
- src/external/Z/API/Z/classes/base/Pair.hpp
|
35
|
+
- src/external/Z/API/Z/classes/base/Range.hpp
|
36
|
+
- src/external/Z/API/Z/classes/base/SizedString.hpp
|
37
|
+
- src/external/Z/API/Z/classes/base/Status.hpp
|
38
|
+
- src/external/Z/API/Z/classes/base/Symbol.hpp
|
39
|
+
- src/external/Z/API/Z/classes/base/Tuple.hpp
|
40
|
+
- src/external/Z/API/Z/classes/base/Value2D.hpp
|
41
|
+
- src/external/Z/API/Z/classes/base/Value3D.hpp
|
42
|
+
- src/external/Z/API/Z/classes/buffering/RingBuffer.hpp
|
43
|
+
- src/external/Z/API/Z/classes/buffering/TripleBuffer.hpp
|
44
|
+
- src/external/Z/API/Z/classes/functional/Functor.hpp
|
45
|
+
- src/external/Z/API/Z/classes/functional/MemberFunction.hpp
|
46
|
+
- src/external/Z/API/Z/classes/functional/ObjectMemberFunction.hpp
|
47
|
+
- src/external/Z/API/Z/classes/functional/ObjectSelector.hpp
|
48
|
+
- src/external/Z/API/Z/classes/functional/Selector.hpp
|
49
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/AABB.hpp
|
50
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/AABR.hpp
|
51
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Box.hpp
|
52
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Circle.hpp
|
53
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Line2D.hpp
|
54
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Line3D.hpp
|
55
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Rectangle.hpp
|
56
|
+
- src/external/Z/API/Z/classes/mathematics/geometry/euclidean/Sphere.hpp
|
57
|
+
- src/external/Z/API/Z/classes/memory/Shared.hpp
|
58
|
+
- src/external/Z/API/Z/constants/base.h
|
59
|
+
- src/external/Z/API/Z/constants/chemical elements.h
|
60
|
+
- src/external/Z/API/Z/constants/numbers.h
|
61
|
+
- src/external/Z/API/Z/constants/version.h
|
62
|
+
- src/external/Z/API/Z/formats/character set/ASCII.h
|
63
|
+
- src/external/Z/API/Z/formats/character set/DOS CP437.h
|
64
|
+
- src/external/Z/API/Z/formats/character set/DOS CP737.h
|
65
|
+
- src/external/Z/API/Z/formats/character set/DOS CP775.h
|
66
|
+
- src/external/Z/API/Z/formats/character set/DOS CP850.h
|
67
|
+
- src/external/Z/API/Z/formats/character set/DOS CP852.h
|
68
|
+
- src/external/Z/API/Z/formats/character set/DOS CP855.h
|
69
|
+
- src/external/Z/API/Z/formats/character set/DOS CP857.h
|
70
|
+
- src/external/Z/API/Z/formats/character set/DOS CP858.h
|
71
|
+
- src/external/Z/API/Z/formats/character set/DOS CP860.h
|
72
|
+
- src/external/Z/API/Z/formats/character set/DOS CP861.h
|
73
|
+
- src/external/Z/API/Z/formats/character set/DOS CP862.h
|
74
|
+
- src/external/Z/API/Z/formats/character set/DOS CP863.h
|
75
|
+
- src/external/Z/API/Z/formats/character set/DOS CP864.h
|
76
|
+
- src/external/Z/API/Z/formats/character set/DOS CP865.h
|
77
|
+
- src/external/Z/API/Z/formats/character set/DOS CP866.h
|
78
|
+
- src/external/Z/API/Z/formats/character set/DOS CP869.h
|
79
|
+
- src/external/Z/API/Z/formats/character set/DOS CP872.h
|
80
|
+
- src/external/Z/API/Z/formats/character set/DOS CP874.h
|
81
|
+
- src/external/Z/API/Z/formats/character set/Unicode.h
|
82
|
+
- src/external/Z/API/Z/formats/data model/I16LP32.h
|
83
|
+
- src/external/Z/API/Z/formats/data model/ILP32.h
|
84
|
+
- src/external/Z/API/Z/formats/data model/ILP64.h
|
85
|
+
- src/external/Z/API/Z/formats/data model/IP16L32.h
|
86
|
+
- src/external/Z/API/Z/formats/data model/LLP64.h
|
87
|
+
- src/external/Z/API/Z/formats/data model/LP32.h
|
88
|
+
- src/external/Z/API/Z/formats/data model/LP64.h
|
89
|
+
- src/external/Z/API/Z/formats/data model/SILP64.h
|
90
|
+
- src/external/Z/API/Z/formats/file system/FAT12.h
|
91
|
+
- src/external/Z/API/Z/formats/floating-point/IEEE 754.h
|
92
|
+
- src/external/Z/API/Z/formats/floating-point/x87.h
|
93
|
+
- src/external/Z/API/Z/formats/image/ICNS.h
|
94
|
+
- src/external/Z/API/Z/formats/keymap/Mac OS.h
|
95
|
+
- src/external/Z/API/Z/formats/keymap/Z.h
|
96
|
+
- src/external/Z/API/Z/formats/multimedia/Creative Voice.h
|
97
|
+
- src/external/Z/API/Z/formats/multimedia/Microsoft Wave.h
|
98
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ACH.h
|
99
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/FRZ.h
|
100
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/PRG.h
|
101
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SEM.h
|
102
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SIT.h
|
103
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SNA.h
|
104
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SNP.h
|
105
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/SP.h
|
106
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/Z80.h
|
107
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ZX.h
|
108
|
+
- src/external/Z/API/Z/formats/snapshot/machine/computer/ZX Spectrum/ZX82.h
|
109
|
+
- src/external/Z/API/Z/formats/storage medium image/NES Game Pak/UNIF.h
|
110
|
+
- src/external/Z/API/Z/formats/storage medium image/NES Game Pak/iNES.h
|
111
|
+
- src/external/Z/API/Z/formats/storage medium image/audio/TAP.h
|
112
|
+
- src/external/Z/API/Z/formats/storage medium image/audio/TZX.h
|
113
|
+
- src/external/Z/API/Z/formats/storage medium image/audio/Warajevo TAP.h
|
114
|
+
- src/external/Z/API/Z/formats/storage medium image/floppy disk/FDI.h
|
115
|
+
- src/external/Z/API/Z/functions/base/Z2D.h
|
116
|
+
- src/external/Z/API/Z/functions/base/Z3D.h
|
117
|
+
- src/external/Z/API/Z/functions/base/ZRange.h
|
118
|
+
- src/external/Z/API/Z/functions/base/all.h
|
119
|
+
- src/external/Z/API/Z/functions/base/casting.hpp
|
120
|
+
- src/external/Z/API/Z/functions/base/character.h
|
121
|
+
- src/external/Z/API/Z/functions/base/constructors.h
|
122
|
+
- src/external/Z/API/Z/functions/base/structure.hpp
|
123
|
+
- src/external/Z/API/Z/functions/base/type.hpp
|
124
|
+
- src/external/Z/API/Z/functions/base/value.h
|
125
|
+
- src/external/Z/API/Z/functions/base/value.hpp
|
126
|
+
- src/external/Z/API/Z/functions/buffering/ZRingBuffer.h
|
127
|
+
- src/external/Z/API/Z/functions/buffering/ZTripleBuffer.h
|
128
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/Z2DLine.h
|
129
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/Z3DLine.h
|
130
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZAABB.h
|
131
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZAABR.h
|
132
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZBox.h
|
133
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZCircle.h
|
134
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZRectangle.h
|
135
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/ZSphere.h
|
136
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/all.h
|
137
|
+
- src/external/Z/API/Z/functions/mathematics/geometry/euclidean/constructors.h
|
138
|
+
- src/external/Z/API/Z/functions/time/date.h
|
139
|
+
- src/external/Z/API/Z/hardware/CPU/architecture/6502.h
|
140
|
+
- src/external/Z/API/Z/hardware/CPU/architecture/Z80.h
|
141
|
+
- src/external/Z/API/Z/hardware/CPU/architecture/i4004.h
|
142
|
+
- src/external/Z/API/Z/hardware/PSG/General Instrument/AY-3-891x.h
|
143
|
+
- src/external/Z/API/Z/hardware/VDC/Ricoh/RP2C0x.h
|
144
|
+
- src/external/Z/API/Z/hardware/bus/AGP.h
|
145
|
+
- src/external/Z/API/Z/hardware/bus/USB.h
|
146
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Inves Spectrum
|
147
|
+
+.h
|
148
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Pentagon.h
|
149
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/Scorpion.h
|
150
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum + 128K.h
|
151
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +.h
|
152
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +2.h
|
153
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +2A.h
|
154
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum +3.h
|
155
|
+
- src/external/Z/API/Z/hardware/machine/model/computer/ZX Spectrum/ZX Spectrum.h
|
156
|
+
- src/external/Z/API/Z/hardware/machine/model/console/Nintendo Entertainment System/NES-001
|
157
|
+
(NTSC).h
|
158
|
+
- src/external/Z/API/Z/hardware/machine/model/console/Nintendo Entertainment System/NES-001
|
159
|
+
(PAL).h
|
160
|
+
- src/external/Z/API/Z/hardware/machine/platform/computer/ZX Spectrum.h
|
161
|
+
- src/external/Z/API/Z/hardware/machine/platform/console/Game Boy.h
|
162
|
+
- src/external/Z/API/Z/hardware/machine/platform/console/Nintendo Entertainment System.h
|
163
|
+
- src/external/Z/API/Z/hardware/storage medium/ROM cartridge/SNES Game Pak.h
|
164
|
+
- src/external/Z/API/Z/inspection/C++.h
|
165
|
+
- src/external/Z/API/Z/inspection/C++/completion.h
|
166
|
+
- src/external/Z/API/Z/inspection/C++/modules/C++03.h
|
167
|
+
- src/external/Z/API/Z/inspection/C++/modules/C++11.h
|
168
|
+
- src/external/Z/API/Z/inspection/C++/modules/C++14.h
|
169
|
+
- src/external/Z/API/Z/inspection/C++/modules/C++17.h
|
170
|
+
- src/external/Z/API/Z/inspection/C++/modules/C++85.h
|
171
|
+
- src/external/Z/API/Z/inspection/C++/modules/C++89.h
|
172
|
+
- src/external/Z/API/Z/inspection/C++/modules/C++98.h
|
173
|
+
- src/external/Z/API/Z/inspection/C.h
|
174
|
+
- src/external/Z/API/Z/inspection/C/completion.h
|
175
|
+
- src/external/Z/API/Z/inspection/C/modules/C11.h
|
176
|
+
- src/external/Z/API/Z/inspection/C/modules/C18.h
|
177
|
+
- src/external/Z/API/Z/inspection/C/modules/C89.h
|
178
|
+
- src/external/Z/API/Z/inspection/C/modules/C90.h
|
179
|
+
- src/external/Z/API/Z/inspection/C/modules/C94.h
|
180
|
+
- src/external/Z/API/Z/inspection/C/modules/C99.h
|
181
|
+
- src/external/Z/API/Z/inspection/C/modules/KR C.h
|
182
|
+
- src/external/Z/API/Z/inspection/CPU.h
|
183
|
+
- src/external/Z/API/Z/inspection/CPU/completion.h
|
184
|
+
- src/external/Z/API/Z/inspection/CPU/detection.h
|
185
|
+
- src/external/Z/API/Z/inspection/CPU/modules/6502.h
|
186
|
+
- src/external/Z/API/Z/inspection/CPU/modules/AArch32.h
|
187
|
+
- src/external/Z/API/Z/inspection/CPU/modules/AArch64.h
|
188
|
+
- src/external/Z/API/Z/inspection/CPU/modules/Z80.h
|
189
|
+
- src/external/Z/API/Z/inspection/CPU/modules/x86-32.h
|
190
|
+
- src/external/Z/API/Z/inspection/CPU/modules/x86-64.h
|
191
|
+
- src/external/Z/API/Z/inspection/OS.h
|
192
|
+
- src/external/Z/API/Z/inspection/OS/completion.h
|
193
|
+
- src/external/Z/API/Z/inspection/OS/detection.h
|
194
|
+
- src/external/Z/API/Z/inspection/OS/modules/Linux.h
|
195
|
+
- src/external/Z/API/Z/inspection/OS/modules/MS-DOS.h
|
196
|
+
- src/external/Z/API/Z/inspection/OS/modules/Mac OS X.h
|
197
|
+
- src/external/Z/API/Z/inspection/OS/modules/Windows.h
|
198
|
+
- src/external/Z/API/Z/inspection/OS/modules/iPhone OS.h
|
199
|
+
- src/external/Z/API/Z/inspection/Objective-C.h
|
200
|
+
- src/external/Z/API/Z/inspection/Objective-C/completion.h
|
201
|
+
- src/external/Z/API/Z/inspection/Objective-C/modules/Objective-C v1.0.h
|
202
|
+
- src/external/Z/API/Z/inspection/Objective-C/modules/Objective-C v2.0.h
|
203
|
+
- src/external/Z/API/Z/inspection/Z.h
|
204
|
+
- src/external/Z/API/Z/inspection/build.h
|
205
|
+
- src/external/Z/API/Z/inspection/character set.h
|
206
|
+
- src/external/Z/API/Z/inspection/compiler.h
|
207
|
+
- src/external/Z/API/Z/inspection/compiler/completion.h
|
208
|
+
- src/external/Z/API/Z/inspection/compiler/modules/Apple LLVM.h
|
209
|
+
- src/external/Z/API/Z/inspection/compiler/modules/Clang.h
|
210
|
+
- src/external/Z/API/Z/inspection/compiler/modules/GCC.h
|
211
|
+
- src/external/Z/API/Z/inspection/compiler/modules/SCCZ80.h
|
212
|
+
- src/external/Z/API/Z/inspection/compiler/modules/Visual C++.h
|
213
|
+
- src/external/Z/API/Z/inspection/compiler/modules/cc65.h
|
214
|
+
- src/external/Z/API/Z/inspection/compiler/modules/generic.h
|
215
|
+
- src/external/Z/API/Z/inspection/compiler/modules/template.h
|
216
|
+
- src/external/Z/API/Z/inspection/data model.h
|
217
|
+
- src/external/Z/API/Z/inspection/data model/completion.h
|
218
|
+
- src/external/Z/API/Z/inspection/data model/deduction.h
|
219
|
+
- src/external/Z/API/Z/inspection/data model/detection.h
|
220
|
+
- src/external/Z/API/Z/inspection/floating-point.h
|
221
|
+
- src/external/Z/API/Z/inspection/floating-point/completion.h
|
222
|
+
- src/external/Z/API/Z/inspection/language.h
|
223
|
+
- src/external/Z/API/Z/inspection/platform.h
|
224
|
+
- src/external/Z/API/Z/inspection/platform/detection.h
|
225
|
+
- src/external/Z/API/Z/keys/C++.h
|
226
|
+
- src/external/Z/API/Z/keys/C.h
|
227
|
+
- src/external/Z/API/Z/keys/CPU.h
|
228
|
+
- src/external/Z/API/Z/keys/OS.h
|
229
|
+
- src/external/Z/API/Z/keys/Objective-C.h
|
230
|
+
- src/external/Z/API/Z/keys/chemistry.h
|
231
|
+
- src/external/Z/API/Z/keys/compiler.h
|
232
|
+
- src/external/Z/API/Z/keys/data model.h
|
233
|
+
- src/external/Z/API/Z/keys/endianness.h
|
234
|
+
- src/external/Z/API/Z/keys/language.h
|
235
|
+
- src/external/Z/API/Z/keys/layout.h
|
236
|
+
- src/external/Z/API/Z/keys/mathematics/geometry.h
|
237
|
+
- src/external/Z/API/Z/keys/mathematics/number.h
|
238
|
+
- src/external/Z/API/Z/keys/order.h
|
239
|
+
- src/external/Z/API/Z/keys/platform.h
|
240
|
+
- src/external/Z/API/Z/keys/program.h
|
241
|
+
- src/external/Z/API/Z/keys/science/chemical elements.h
|
242
|
+
- src/external/Z/API/Z/keys/science/electricity.h
|
243
|
+
- src/external/Z/API/Z/keys/science/magnetism.h
|
244
|
+
- src/external/Z/API/Z/keys/status.h
|
245
|
+
- src/external/Z/API/Z/keys/text.h
|
246
|
+
- src/external/Z/API/Z/keys/value.h
|
247
|
+
- src/external/Z/API/Z/macros/arguments.h
|
248
|
+
- src/external/Z/API/Z/macros/casting.h
|
249
|
+
- src/external/Z/API/Z/macros/character.h
|
250
|
+
- src/external/Z/API/Z/macros/date.h
|
251
|
+
- src/external/Z/API/Z/macros/key.h
|
252
|
+
- src/external/Z/API/Z/macros/language.h
|
253
|
+
- src/external/Z/API/Z/macros/language.hpp
|
254
|
+
- src/external/Z/API/Z/macros/members.h
|
255
|
+
- src/external/Z/API/Z/macros/pasting.h
|
256
|
+
- src/external/Z/API/Z/macros/pointer.h
|
257
|
+
- src/external/Z/API/Z/macros/repetition.h
|
258
|
+
- src/external/Z/API/Z/macros/structure.h
|
259
|
+
- src/external/Z/API/Z/macros/templating.h
|
260
|
+
- src/external/Z/API/Z/macros/tokens.h
|
261
|
+
- src/external/Z/API/Z/macros/type enumeration.h
|
262
|
+
- src/external/Z/API/Z/macros/type selection.hpp
|
263
|
+
- src/external/Z/API/Z/macros/value.h
|
264
|
+
- src/external/Z/API/Z/macros/variadic pasting.h
|
265
|
+
- src/external/Z/API/Z/macros/variadic selection.h
|
266
|
+
- src/external/Z/API/Z/macros/variadic.h
|
267
|
+
- src/external/Z/API/Z/macros/version.h
|
268
|
+
- src/external/Z/API/Z/network/3/IP.h
|
269
|
+
- src/external/Z/API/Z/network/4/TCP.h
|
270
|
+
- src/external/Z/API/Z/network/4/UDP.h
|
271
|
+
- src/external/Z/API/Z/network/7/ED2K.h
|
272
|
+
- src/external/Z/API/Z/network/7/HTTP.h
|
273
|
+
- src/external/Z/API/Z/traits/SelectType.hpp
|
274
|
+
- src/external/Z/API/Z/traits/TernaryType.hpp
|
275
|
+
- src/external/Z/API/Z/traits/Type.hpp
|
276
|
+
- src/external/Z/API/Z/traits/TypeCount.hpp
|
277
|
+
- src/external/Z/API/Z/traits/TypeList.hpp
|
278
|
+
- src/external/Z/API/Z/traits/base.hpp
|
279
|
+
- src/external/Z/API/Z/traits/filtering.hpp
|
280
|
+
- src/external/Z/API/Z/traits/mathematics.hpp
|
281
|
+
- src/external/Z/API/Z/types/arguments.h
|
282
|
+
- src/external/Z/API/Z/types/base.h
|
283
|
+
- src/external/Z/API/Z/types/base.hpp
|
284
|
+
- src/external/Z/API/Z/types/buffering.h
|
285
|
+
- src/external/Z/API/Z/types/mathematics.h
|
286
|
+
- src/external/Z/API/Z/types/time.h
|
287
|
+
- src/external/Z/COPYING.LESSER
|
288
|
+
- src/external/Z/development/Qt Creator/Z.pro
|
289
|
+
- src/external/Z/distribution/CocoaPods/Zeta.podspec
|
290
|
+
- src/external/Z/distribution/Gentoo Linux/Zeta-0.1.ebuild
|
291
|
+
- src/external/Z/distribution/Gentoo Linux/metadata.xml
|
292
|
+
- src/external/Z/distribution/Homebrew/Zeta.rb
|
293
|
+
- src/external/z80/API/emulation/CPU/Z80.h
|
294
|
+
- src/external/z80/README.md
|
295
|
+
- src/external/z80/building/premake4.lua
|
296
|
+
- src/external/z80/development/Xcode/Z80.xcodeproj/project.pbxproj
|
297
|
+
- src/external/z80/sources/Z80.c
|
298
|
+
- src/interrupt.c
|
299
|
+
- src/interrupt.h
|
300
|
+
- src/io.c.erb
|
301
|
+
- src/io.h.erb
|
302
|
+
- src/main.c
|
303
|
+
- src/memory.c.erb
|
304
|
+
- src/memory.h.erb
|
305
|
+
homepage:
|
306
|
+
licenses:
|
307
|
+
- GPL-3.0
|
308
|
+
metadata: {}
|
309
|
+
post_install_message:
|
310
|
+
rdoc_options: []
|
311
|
+
require_paths:
|
312
|
+
- lib
|
313
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
314
|
+
requirements:
|
315
|
+
- - ">="
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
318
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
319
|
+
requirements:
|
320
|
+
- - ">="
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
version: '0'
|
323
|
+
requirements: []
|
324
|
+
rubyforge_project:
|
325
|
+
rubygems_version: 2.7.6
|
326
|
+
signing_key:
|
327
|
+
specification_version: 4
|
328
|
+
summary: zemu
|
329
|
+
test_files: []
|