mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2025-08-14 17:27:49 +00:00
initial implementation
This commit is contained in:
58
.clang-format
Normal file
58
.clang-format
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
Language: Cpp
|
||||
AccessModifierOffset: -1
|
||||
ConstructorInitializerIndentWidth: 4
|
||||
AlignEscapedNewlinesLeft: true
|
||||
AlignTrailingComments: true
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
BreakBeforeBinaryOperators: false
|
||||
BreakBeforeTernaryOperators: true
|
||||
BreakConstructorInitializersBeforeComma: false
|
||||
BinPackParameters: false
|
||||
ColumnLimit: 0
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||
DerivePointerAlignment: false
|
||||
ExperimentalAutoDetectBinPacking: false
|
||||
IndentCaseLabels: true
|
||||
IndentWrappedFunctionNames: false
|
||||
IndentFunctionDeclarationAfterType: false
|
||||
MaxEmptyLinesToKeep: 1
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
NamespaceIndentation: None
|
||||
ObjCSpaceAfterProperty: true
|
||||
ObjCSpaceBeforeProtocolList: true
|
||||
ObjCBlockIndentWidth: 4
|
||||
PenaltyBreakBeforeFirstCallParameter: 1
|
||||
PenaltyBreakComment: 300
|
||||
PenaltyBreakString: 1000
|
||||
PenaltyBreakFirstLessLess: 120
|
||||
PenaltyExcessCharacter: 1000000
|
||||
PenaltyReturnTypeOnItsOwnLine: 200
|
||||
PointerAlignment: Right
|
||||
SpacesBeforeTrailingComments: 2
|
||||
Cpp11BracedListStyle: true
|
||||
Standard: Cpp03
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
UseTab: Never
|
||||
BreakBeforeBraces: Attach
|
||||
SpacesInParentheses: false
|
||||
SpacesInAngles: false
|
||||
SpaceInEmptyParentheses: false
|
||||
SpacesInCStyleCastParentheses: false
|
||||
SpacesInContainerLiterals: true
|
||||
SpaceBeforeAssignmentOperators: true
|
||||
ContinuationIndentWidth: 4
|
||||
CommentPragmas: '^ IWYU pragma:'
|
||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
||||
SpaceBeforeParens: ControlStatements
|
||||
DisableFormat: false
|
||||
SortIncludes: false
|
||||
...
|
||||
|
@@ -7,6 +7,23 @@
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
28CE8EB51CD4C3B200FE25A8 /* GLOBGLUE.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8E931CD4C3B200FE25A8 /* GLOBGLUE.c */; };
|
||||
28CE8EB61CD4C3B200FE25A8 /* IWMEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8E961CD4C3B200FE25A8 /* IWMEMDEV.c */; };
|
||||
28CE8EB71CD4C3B200FE25A8 /* KBRDEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8E981CD4C3B200FE25A8 /* KBRDEMDV.c */; };
|
||||
28CE8EB81CD4C3B200FE25A8 /* M68KITAB.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8E9A1CD4C3B200FE25A8 /* M68KITAB.c */; };
|
||||
28CE8EB91CD4C3B200FE25A8 /* MINEM68K.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8E9C1CD4C3B200FE25A8 /* MINEM68K.c */; };
|
||||
28CE8EBA1CD4C3B200FE25A8 /* MOUSEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8E9E1CD4C3B200FE25A8 /* MOUSEMDV.c */; };
|
||||
28CE8EBB1CD4C3B200FE25A8 /* PROGMAIN.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EA11CD4C3B200FE25A8 /* PROGMAIN.c */; };
|
||||
28CE8EBC1CD4C3B200FE25A8 /* ROMEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EA31CD4C3B200FE25A8 /* ROMEMDEV.c */; };
|
||||
28CE8EBD1CD4C3B200FE25A8 /* RTCEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EA51CD4C3B200FE25A8 /* RTCEMDEV.c */; };
|
||||
28CE8EBE1CD4C3B200FE25A8 /* SCCEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EA71CD4C3B200FE25A8 /* SCCEMDEV.c */; };
|
||||
28CE8EBF1CD4C3B200FE25A8 /* SCRNEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EA91CD4C3B200FE25A8 /* SCRNEMDV.c */; };
|
||||
28CE8EC01CD4C3B200FE25A8 /* SCSIEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EAC1CD4C3B200FE25A8 /* SCSIEMDV.c */; };
|
||||
28CE8EC11CD4C3B200FE25A8 /* SNDEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EAE1CD4C3B200FE25A8 /* SNDEMDEV.c */; };
|
||||
28CE8EC21CD4C3B200FE25A8 /* SONYEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EB01CD4C3B200FE25A8 /* SONYEMDV.c */; };
|
||||
28CE8EC31CD4C3B200FE25A8 /* VIAEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8EB31CD4C3B200FE25A8 /* VIAEMDEV.c */; };
|
||||
28CE8ECC1CD4CDC500FE25A8 /* MYOSGLUE.m in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8ECB1CD4CDC500FE25A8 /* MYOSGLUE.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
|
||||
28CE8ED61CD4F56C00FE25A8 /* ScreenView.m in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8ED51CD4F56C00FE25A8 /* ScreenView.m */; };
|
||||
28F676C21CD15E0B00FC6FA6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 28F676C11CD15E0B00FC6FA6 /* main.m */; };
|
||||
28F676C51CD15E0B00FC6FA6 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 28F676C41CD15E0B00FC6FA6 /* AppDelegate.m */; };
|
||||
28F676C81CD15E0B00FC6FA6 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28F676C71CD15E0B00FC6FA6 /* ViewController.m */; };
|
||||
@@ -16,6 +33,50 @@
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
28CE8E881CD4C33E00FE25A8 /* CNFGGLOB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CNFGGLOB.h; sourceTree = "<group>"; };
|
||||
28CE8E891CD4C33E00FE25A8 /* CNFGRAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CNFGRAPI.h; sourceTree = "<group>"; };
|
||||
28CE8E8A1CD4C33E00FE25A8 /* EMCONFIG.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMCONFIG.h; sourceTree = "<group>"; };
|
||||
28CE8E8F1CD4C3B200FE25A8 /* COMOSGLU.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = COMOSGLU.h; sourceTree = "<group>"; };
|
||||
28CE8E911CD4C3B200FE25A8 /* DATE2SEC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DATE2SEC.h; sourceTree = "<group>"; };
|
||||
28CE8E921CD4C3B200FE25A8 /* ENDIANAC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ENDIANAC.h; sourceTree = "<group>"; };
|
||||
28CE8E931CD4C3B200FE25A8 /* GLOBGLUE.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = GLOBGLUE.c; sourceTree = "<group>"; };
|
||||
28CE8E941CD4C3B200FE25A8 /* GLOBGLUE.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GLOBGLUE.h; sourceTree = "<group>"; };
|
||||
28CE8E961CD4C3B200FE25A8 /* IWMEMDEV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IWMEMDEV.c; sourceTree = "<group>"; };
|
||||
28CE8E971CD4C3B200FE25A8 /* IWMEMDEV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IWMEMDEV.h; sourceTree = "<group>"; };
|
||||
28CE8E981CD4C3B200FE25A8 /* KBRDEMDV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KBRDEMDV.c; sourceTree = "<group>"; };
|
||||
28CE8E991CD4C3B200FE25A8 /* KBRDEMDV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KBRDEMDV.h; sourceTree = "<group>"; };
|
||||
28CE8E9A1CD4C3B200FE25A8 /* M68KITAB.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = M68KITAB.c; sourceTree = "<group>"; };
|
||||
28CE8E9B1CD4C3B200FE25A8 /* M68KITAB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = M68KITAB.h; sourceTree = "<group>"; };
|
||||
28CE8E9C1CD4C3B200FE25A8 /* MINEM68K.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = MINEM68K.c; sourceTree = "<group>"; };
|
||||
28CE8E9D1CD4C3B200FE25A8 /* MINEM68K.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MINEM68K.h; sourceTree = "<group>"; };
|
||||
28CE8E9E1CD4C3B200FE25A8 /* MOUSEMDV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = MOUSEMDV.c; sourceTree = "<group>"; };
|
||||
28CE8E9F1CD4C3B200FE25A8 /* MOUSEMDV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MOUSEMDV.h; sourceTree = "<group>"; };
|
||||
28CE8EA01CD4C3B200FE25A8 /* MYOSGLUE.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MYOSGLUE.h; sourceTree = "<group>"; };
|
||||
28CE8EA11CD4C3B200FE25A8 /* PROGMAIN.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = PROGMAIN.c; sourceTree = "<group>"; };
|
||||
28CE8EA21CD4C3B200FE25A8 /* PROGMAIN.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PROGMAIN.h; sourceTree = "<group>"; };
|
||||
28CE8EA31CD4C3B200FE25A8 /* ROMEMDEV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ROMEMDEV.c; sourceTree = "<group>"; };
|
||||
28CE8EA41CD4C3B200FE25A8 /* ROMEMDEV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ROMEMDEV.h; sourceTree = "<group>"; };
|
||||
28CE8EA51CD4C3B200FE25A8 /* RTCEMDEV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = RTCEMDEV.c; sourceTree = "<group>"; };
|
||||
28CE8EA61CD4C3B200FE25A8 /* RTCEMDEV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCEMDEV.h; sourceTree = "<group>"; };
|
||||
28CE8EA71CD4C3B200FE25A8 /* SCCEMDEV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SCCEMDEV.c; sourceTree = "<group>"; };
|
||||
28CE8EA81CD4C3B200FE25A8 /* SCCEMDEV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCCEMDEV.h; sourceTree = "<group>"; };
|
||||
28CE8EA91CD4C3B200FE25A8 /* SCRNEMDV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SCRNEMDV.c; sourceTree = "<group>"; };
|
||||
28CE8EAA1CD4C3B200FE25A8 /* SCRNEMDV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCRNEMDV.h; sourceTree = "<group>"; };
|
||||
28CE8EAB1CD4C3B200FE25A8 /* SCRNMAPR.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCRNMAPR.h; sourceTree = "<group>"; };
|
||||
28CE8EAC1CD4C3B200FE25A8 /* SCSIEMDV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SCSIEMDV.c; sourceTree = "<group>"; };
|
||||
28CE8EAD1CD4C3B200FE25A8 /* SCSIEMDV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCSIEMDV.h; sourceTree = "<group>"; };
|
||||
28CE8EAE1CD4C3B200FE25A8 /* SNDEMDEV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SNDEMDEV.c; sourceTree = "<group>"; };
|
||||
28CE8EAF1CD4C3B200FE25A8 /* SNDEMDEV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SNDEMDEV.h; sourceTree = "<group>"; };
|
||||
28CE8EB01CD4C3B200FE25A8 /* SONYEMDV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SONYEMDV.c; sourceTree = "<group>"; };
|
||||
28CE8EB11CD4C3B200FE25A8 /* SONYEMDV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SONYEMDV.h; sourceTree = "<group>"; };
|
||||
28CE8EB21CD4C3B200FE25A8 /* SYSDEPNS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SYSDEPNS.h; sourceTree = "<group>"; };
|
||||
28CE8EB31CD4C3B200FE25A8 /* VIAEMDEV.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = VIAEMDEV.c; sourceTree = "<group>"; };
|
||||
28CE8EB41CD4C3B200FE25A8 /* VIAEMDEV.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VIAEMDEV.h; sourceTree = "<group>"; };
|
||||
28CE8ECB1CD4CDC500FE25A8 /* MYOSGLUE.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MYOSGLUE.m; sourceTree = "<group>"; };
|
||||
28CE8ECD1CD4D1A100FE25A8 /* STRCONST.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = STRCONST.h; sourceTree = "<group>"; };
|
||||
28CE8ECF1CD4D5B900FE25A8 /* INTLCHAR.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = INTLCHAR.h; sourceTree = "<group>"; };
|
||||
28CE8ED41CD4F56C00FE25A8 /* ScreenView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScreenView.h; sourceTree = "<group>"; };
|
||||
28CE8ED51CD4F56C00FE25A8 /* ScreenView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ScreenView.m; sourceTree = "<group>"; };
|
||||
28F676BD1CD15E0B00FC6FA6 /* Mini vMac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Mini vMac.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
28F676C11CD15E0B00FC6FA6 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
28F676C31CD15E0B00FC6FA6 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
||||
@@ -39,6 +100,61 @@
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
28CE8E871CD4C33E00FE25A8 /* mnvm_cfg */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
28CE8E881CD4C33E00FE25A8 /* CNFGGLOB.h */,
|
||||
28CE8E891CD4C33E00FE25A8 /* CNFGRAPI.h */,
|
||||
28CE8E8A1CD4C33E00FE25A8 /* EMCONFIG.h */,
|
||||
);
|
||||
path = mnvm_cfg;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
28CE8E8E1CD4C3B200FE25A8 /* mnvm_core */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
28CE8ECF1CD4D5B900FE25A8 /* INTLCHAR.h */,
|
||||
28CE8ECD1CD4D1A100FE25A8 /* STRCONST.h */,
|
||||
28CE8E8F1CD4C3B200FE25A8 /* COMOSGLU.h */,
|
||||
28CE8E911CD4C3B200FE25A8 /* DATE2SEC.h */,
|
||||
28CE8E921CD4C3B200FE25A8 /* ENDIANAC.h */,
|
||||
28CE8E931CD4C3B200FE25A8 /* GLOBGLUE.c */,
|
||||
28CE8E941CD4C3B200FE25A8 /* GLOBGLUE.h */,
|
||||
28CE8E961CD4C3B200FE25A8 /* IWMEMDEV.c */,
|
||||
28CE8E971CD4C3B200FE25A8 /* IWMEMDEV.h */,
|
||||
28CE8E981CD4C3B200FE25A8 /* KBRDEMDV.c */,
|
||||
28CE8E991CD4C3B200FE25A8 /* KBRDEMDV.h */,
|
||||
28CE8E9A1CD4C3B200FE25A8 /* M68KITAB.c */,
|
||||
28CE8E9B1CD4C3B200FE25A8 /* M68KITAB.h */,
|
||||
28CE8E9C1CD4C3B200FE25A8 /* MINEM68K.c */,
|
||||
28CE8E9D1CD4C3B200FE25A8 /* MINEM68K.h */,
|
||||
28CE8E9E1CD4C3B200FE25A8 /* MOUSEMDV.c */,
|
||||
28CE8E9F1CD4C3B200FE25A8 /* MOUSEMDV.h */,
|
||||
28CE8EA01CD4C3B200FE25A8 /* MYOSGLUE.h */,
|
||||
28CE8EA11CD4C3B200FE25A8 /* PROGMAIN.c */,
|
||||
28CE8EA21CD4C3B200FE25A8 /* PROGMAIN.h */,
|
||||
28CE8EA31CD4C3B200FE25A8 /* ROMEMDEV.c */,
|
||||
28CE8EA41CD4C3B200FE25A8 /* ROMEMDEV.h */,
|
||||
28CE8EA51CD4C3B200FE25A8 /* RTCEMDEV.c */,
|
||||
28CE8EA61CD4C3B200FE25A8 /* RTCEMDEV.h */,
|
||||
28CE8EA71CD4C3B200FE25A8 /* SCCEMDEV.c */,
|
||||
28CE8EA81CD4C3B200FE25A8 /* SCCEMDEV.h */,
|
||||
28CE8EA91CD4C3B200FE25A8 /* SCRNEMDV.c */,
|
||||
28CE8EAA1CD4C3B200FE25A8 /* SCRNEMDV.h */,
|
||||
28CE8EAB1CD4C3B200FE25A8 /* SCRNMAPR.h */,
|
||||
28CE8EAC1CD4C3B200FE25A8 /* SCSIEMDV.c */,
|
||||
28CE8EAD1CD4C3B200FE25A8 /* SCSIEMDV.h */,
|
||||
28CE8EAE1CD4C3B200FE25A8 /* SNDEMDEV.c */,
|
||||
28CE8EAF1CD4C3B200FE25A8 /* SNDEMDEV.h */,
|
||||
28CE8EB01CD4C3B200FE25A8 /* SONYEMDV.c */,
|
||||
28CE8EB11CD4C3B200FE25A8 /* SONYEMDV.h */,
|
||||
28CE8EB21CD4C3B200FE25A8 /* SYSDEPNS.h */,
|
||||
28CE8EB31CD4C3B200FE25A8 /* VIAEMDEV.c */,
|
||||
28CE8EB41CD4C3B200FE25A8 /* VIAEMDEV.h */,
|
||||
);
|
||||
path = mnvm_core;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
28F676B41CD15E0B00FC6FA6 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -60,12 +176,17 @@
|
||||
children = (
|
||||
28F676C31CD15E0B00FC6FA6 /* AppDelegate.h */,
|
||||
28F676C41CD15E0B00FC6FA6 /* AppDelegate.m */,
|
||||
28CE8ECB1CD4CDC500FE25A8 /* MYOSGLUE.m */,
|
||||
28CE8ED41CD4F56C00FE25A8 /* ScreenView.h */,
|
||||
28CE8ED51CD4F56C00FE25A8 /* ScreenView.m */,
|
||||
28F676C61CD15E0B00FC6FA6 /* ViewController.h */,
|
||||
28F676C71CD15E0B00FC6FA6 /* ViewController.m */,
|
||||
28F676C91CD15E0B00FC6FA6 /* Main.storyboard */,
|
||||
28F676CC1CD15E0B00FC6FA6 /* Assets.xcassets */,
|
||||
28F676CE1CD15E0B00FC6FA6 /* LaunchScreen.storyboard */,
|
||||
28F676D11CD15E0B00FC6FA6 /* Info.plist */,
|
||||
28CE8E8E1CD4C3B200FE25A8 /* mnvm_core */,
|
||||
28CE8E871CD4C33E00FE25A8 /* mnvm_cfg */,
|
||||
28F676C01CD15E0B00FC6FA6 /* Supporting Files */,
|
||||
);
|
||||
path = "Mini vMac";
|
||||
@@ -149,8 +270,25 @@
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
28CE8EC01CD4C3B200FE25A8 /* SCSIEMDV.c in Sources */,
|
||||
28CE8EC11CD4C3B200FE25A8 /* SNDEMDEV.c in Sources */,
|
||||
28CE8EB51CD4C3B200FE25A8 /* GLOBGLUE.c in Sources */,
|
||||
28CE8EBF1CD4C3B200FE25A8 /* SCRNEMDV.c in Sources */,
|
||||
28CE8EBD1CD4C3B200FE25A8 /* RTCEMDEV.c in Sources */,
|
||||
28CE8EB61CD4C3B200FE25A8 /* IWMEMDEV.c in Sources */,
|
||||
28CE8ED61CD4F56C00FE25A8 /* ScreenView.m in Sources */,
|
||||
28CE8EB91CD4C3B200FE25A8 /* MINEM68K.c in Sources */,
|
||||
28CE8EBA1CD4C3B200FE25A8 /* MOUSEMDV.c in Sources */,
|
||||
28CE8EC31CD4C3B200FE25A8 /* VIAEMDEV.c in Sources */,
|
||||
28CE8EB81CD4C3B200FE25A8 /* M68KITAB.c in Sources */,
|
||||
28CE8EB71CD4C3B200FE25A8 /* KBRDEMDV.c in Sources */,
|
||||
28CE8EBC1CD4C3B200FE25A8 /* ROMEMDEV.c in Sources */,
|
||||
28CE8EBB1CD4C3B200FE25A8 /* PROGMAIN.c in Sources */,
|
||||
28F676C81CD15E0B00FC6FA6 /* ViewController.m in Sources */,
|
||||
28CE8EC21CD4C3B200FE25A8 /* SONYEMDV.c in Sources */,
|
||||
28F676C51CD15E0B00FC6FA6 /* AppDelegate.m in Sources */,
|
||||
28CE8EBE1CD4C3B200FE25A8 /* SCCEMDEV.c in Sources */,
|
||||
28CE8ECC1CD4CDC500FE25A8 /* MYOSGLUE.m in Sources */,
|
||||
28F676C21CD15E0B00FC6FA6 /* main.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
@@ -267,7 +405,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
INFOPLIST_FILE = "Mini vMac/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "net.namedfork.Mini-vMac";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.namedfork.minivmac;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Debug;
|
||||
@@ -278,7 +416,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
INFOPLIST_FILE = "Mini vMac/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "net.namedfork.Mini-vMac";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.namedfork.minivmac;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Release;
|
||||
@@ -302,6 +440,7 @@
|
||||
28F676D61CD15E0B00FC6FA6 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
|
@@ -12,6 +12,7 @@
|
||||
|
||||
@property (strong, nonatomic) UIWindow *window;
|
||||
|
||||
+ (instancetype)sharedInstance;
|
||||
|
||||
@end
|
||||
|
||||
|
@@ -7,6 +7,14 @@
|
||||
//
|
||||
|
||||
#import "AppDelegate.h"
|
||||
#include "CNFGRAPI.h"
|
||||
#include "SYSDEPNS.h"
|
||||
#include "MYOSGLUE.h"
|
||||
|
||||
IMPORTPROC RunEmulator(void);
|
||||
IMPORTPROC SetSpeedStopped(blnr stopped);
|
||||
|
||||
static AppDelegate *sharedAppDelegate = nil;
|
||||
|
||||
@interface AppDelegate ()
|
||||
|
||||
@@ -14,32 +22,25 @@
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
+ (instancetype)sharedInstance {
|
||||
return sharedAppDelegate;
|
||||
}
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
// Override point for customization after application launch.
|
||||
[self performSelector:@selector(runEmulator) withObject:nil afterDelay:1.0];
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)applicationWillResignActive:(UIApplication *)application {
|
||||
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
|
||||
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
|
||||
}
|
||||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
||||
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
|
||||
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
|
||||
SetSpeedStopped(trueblnr);
|
||||
}
|
||||
|
||||
- (void)applicationWillEnterForeground:(UIApplication *)application {
|
||||
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
|
||||
SetSpeedStopped(falseblnr);
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application {
|
||||
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
|
||||
- (void)runEmulator {
|
||||
RunEmulator();
|
||||
}
|
||||
|
||||
@end
|
||||
|
@@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--View Controller-->
|
||||
<scene sceneID="tne-QT-ifu">
|
||||
<objects>
|
||||
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
|
||||
<viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
|
||||
<layoutGuides>
|
||||
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
|
||||
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
|
||||
@@ -15,11 +16,24 @@
|
||||
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="70W-4V-tYr" customClass="ScreenView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
<constraints>
|
||||
<constraint firstItem="70W-4V-tYr" firstAttribute="bottom" secondItem="wfy-db-euE" secondAttribute="top" id="Xn1-gS-YTJ"/>
|
||||
<constraint firstItem="70W-4V-tYr" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="ddo-cc-64n"/>
|
||||
<constraint firstItem="70W-4V-tYr" firstAttribute="top" secondItem="8bC-Xf-vdC" secondAttribute="top" id="e9i-3F-kaI"/>
|
||||
<constraint firstAttribute="trailing" secondItem="70W-4V-tYr" secondAttribute="trailing" id="kDH-sv-91j"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="548" y="391"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
</document>
|
||||
|
@@ -15,13 +15,15 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<string>2.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIFileSharingEnabled</key>
|
||||
<true/>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
@@ -30,6 +32,10 @@
|
||||
<array>
|
||||
<string>armv7</string>
|
||||
</array>
|
||||
<key>UIRequiresFullScreen</key>
|
||||
<true/>
|
||||
<key>UIStatusBarHidden</key>
|
||||
<true/>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
|
1709
Mini vMac/MYOSGLUE.m
Normal file
1709
Mini vMac/MYOSGLUE.m
Normal file
File diff suppressed because it is too large
Load Diff
16
Mini vMac/ScreenView.h
Normal file
16
Mini vMac/ScreenView.h
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// ScreenView.h
|
||||
// Mini vMac
|
||||
//
|
||||
// Created by Jesús A. Álvarez on 30/04/2016.
|
||||
// Copyright © 2016 namedfork. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ScreenView : UIView
|
||||
|
||||
+ (instancetype)sharedScreenView;
|
||||
- (void)updateScreen:(CGImageRef)screenImage;
|
||||
|
||||
@end
|
57
Mini vMac/ScreenView.m
Normal file
57
Mini vMac/ScreenView.m
Normal file
@@ -0,0 +1,57 @@
|
||||
//
|
||||
// ScreenView.m
|
||||
// Mini vMac
|
||||
//
|
||||
// Created by Jesús A. Álvarez on 30/04/2016.
|
||||
// Copyright © 2016 namedfork. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ScreenView.h"
|
||||
#import "CNFGGLOB.h"
|
||||
|
||||
static ScreenView *sharedScreenView = nil;
|
||||
|
||||
@implementation ScreenView
|
||||
{
|
||||
CGImageRef screenImage;
|
||||
CGRect screenBounds;
|
||||
}
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
sharedScreenView = self;
|
||||
}
|
||||
|
||||
+ (instancetype)sharedScreenView {
|
||||
return sharedScreenView;
|
||||
}
|
||||
|
||||
- (void)updateScreen:(CGImageRef)newScreenImage {
|
||||
CGImageRelease(screenImage);
|
||||
screenImage = CGImageRetain(newScreenImage);
|
||||
[self setNeedsDisplay];
|
||||
}
|
||||
|
||||
- (void)layoutSubviews {
|
||||
CGSize screenSize = CGSizeMake(vMacScreenWidth, vMacScreenHeight);
|
||||
CGRect viewBounds = self.bounds;
|
||||
CGFloat screenScale = MAX(screenSize.width / viewBounds.size.width, screenSize.height / viewBounds.size.height);
|
||||
screenBounds = CGRectMake(0, 0, screenSize.width / screenScale, screenSize.height / screenScale);
|
||||
screenBounds.origin.x = (viewBounds.size.width - screenBounds.size.width)/2;
|
||||
screenBounds = CGRectIntegral(screenBounds);
|
||||
[self setNeedsDisplay];
|
||||
}
|
||||
|
||||
- (void)drawRect:(CGRect)rect {
|
||||
// Draw screenImage
|
||||
CGImageRef imageRef = CGImageRetain(screenImage);
|
||||
if (imageRef) {
|
||||
CGContextRef ctx = UIGraphicsGetCurrentContext();
|
||||
CGContextTranslateCTM(ctx, 0, screenBounds.size.height);
|
||||
CGContextScaleCTM(ctx, 1.0, -1.0);
|
||||
CGContextDrawImage(ctx, screenBounds, imageRef);
|
||||
CGImageRelease(imageRef);
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
@@ -14,14 +14,8 @@
|
||||
|
||||
@implementation ViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view, typically from a nib.
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
- (BOOL)prefersStatusBarHidden {
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
92
Mini vMac/mnvm_cfg/CNFGGLOB.h
Normal file
92
Mini vMac/mnvm_cfg/CNFGGLOB.h
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
Configuration options used by both platform specific
|
||||
and platform independent code.
|
||||
|
||||
This file is automatically generated by the build system,
|
||||
which tries to know what options are valid in what
|
||||
combinations. Avoid changing this file manually unless
|
||||
you know what you're doing.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define BigEndianUnaligned 0
|
||||
#define LittleEndianUnaligned 1
|
||||
#define MayInline inline
|
||||
#define MayNotInline __attribute__((noinline))
|
||||
#define SmallGlobals 0
|
||||
#define cIncludeUnused 0
|
||||
#define UnusedParam(p) (void) p
|
||||
|
||||
/* --- integer types ---- */
|
||||
|
||||
typedef uint8_t ui3b;
|
||||
#define HaveRealui3b 1
|
||||
|
||||
typedef int8_t si3b;
|
||||
#define HaveRealsi3b 1
|
||||
|
||||
typedef uint16_t ui4b;
|
||||
#define HaveRealui4b 1
|
||||
|
||||
typedef int16_t si4b;
|
||||
#define HaveRealsi4b 1
|
||||
|
||||
typedef uint32_t ui5b;
|
||||
#define HaveRealui5b 1
|
||||
|
||||
typedef int32_t si5b;
|
||||
#define HaveRealsi5b 1
|
||||
|
||||
#define HaveRealui6b 0
|
||||
#define HaveRealsi6b 0
|
||||
|
||||
/* --- integer representation types ---- */
|
||||
|
||||
typedef ui3b ui3r;
|
||||
#define ui3beqr 1
|
||||
|
||||
typedef si3b si3r;
|
||||
#define si3beqr 1
|
||||
|
||||
typedef ui4b ui4r;
|
||||
#define ui4beqr 1
|
||||
|
||||
typedef si4b si4r;
|
||||
#define si4beqr 1
|
||||
|
||||
typedef ui5b ui5r;
|
||||
#define ui5beqr 1
|
||||
|
||||
typedef si5b si5r;
|
||||
#define si5beqr 1
|
||||
|
||||
/* capabilities provided by platform specific code */
|
||||
|
||||
#define MySoundEnabled 1
|
||||
|
||||
#define MySoundRecenterSilence 0
|
||||
#define kLn2SoundSampSz 4
|
||||
|
||||
#define dbglog_HAVE 0
|
||||
|
||||
#define NumDrives 16
|
||||
#define IncludeSonyRawMode 1
|
||||
#define IncludeSonyGetName 1
|
||||
#define IncludeSonyNew 0
|
||||
#define IncludeSonyNameNew 0
|
||||
|
||||
#define vMacScreenHeight 342
|
||||
#define vMacScreenWidth 512
|
||||
#define vMacScreenDepth 0
|
||||
|
||||
#define kROM_Size 0x00020000
|
||||
|
||||
#define IncludePbufs 1
|
||||
#define NumPbufs 4
|
||||
|
||||
#define EnableMouseMotion 1
|
||||
|
||||
#define IncludeHostTextClipExchange 1
|
||||
#define EnableAutoSlow 1
|
||||
#define EmLocalTalk 0
|
35
Mini vMac/mnvm_cfg/CNFGRAPI.h
Normal file
35
Mini vMac/mnvm_cfg/CNFGRAPI.h
Normal file
@@ -0,0 +1,35 @@
|
||||
//#include <Carbon/Carbon.h>
|
||||
//#include <AGL/agl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define MyAppIsBundle 1
|
||||
#define kMacCreatorSig 'MnvM'
|
||||
|
||||
#define RomFileName "vMac.ROM"
|
||||
#define EnableDragDrop 1
|
||||
#define EnableAltKeysMode 0
|
||||
#define SwapCommandControl 0
|
||||
#define VarFullScreen 1
|
||||
#define WantInitFullScreen 0
|
||||
#define MayFullScreen 1
|
||||
#define MayNotFullScreen 1
|
||||
#define WantInitMagnify 0
|
||||
#define EnableMagnify 0
|
||||
#define WantInitRunInBackground 0
|
||||
#define WantInitNotAutoSlow 0
|
||||
#define WantInitSpeedValue 3
|
||||
#define NeedRequestInsertDisk 1
|
||||
#define NeedDoMoreCommandsMsg 1
|
||||
#define NeedDoAboutMsg 1
|
||||
#define UseControlKeys 0
|
||||
#define UseActvCode 0
|
||||
#define EnableDemoMsg 0
|
||||
|
||||
/* version and other info to display to user */
|
||||
|
||||
#define NeedIntlChars 1
|
||||
#define kStrAppName "Mini vMac"
|
||||
#define kAppVariationStr "minivmac-3.4.0-ios"
|
||||
#define kStrCopyrightYear "2008-2016"
|
||||
#define kMaintainerName "Jesús A. Álvarez"
|
||||
#define kStrHomePage "http://www.namedfork.net/minivmac/"
|
172
Mini vMac/mnvm_cfg/EMCONFIG.h
Normal file
172
Mini vMac/mnvm_cfg/EMCONFIG.h
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
Configuration options used by platform independent code.
|
||||
|
||||
This file is automatically generated by the build system,
|
||||
which tries to know what options are valid in what
|
||||
combinations. Avoid changing this file manually unless
|
||||
you know what you're doing.
|
||||
*/
|
||||
|
||||
#define EmClassicKbrd 1
|
||||
#define EmADB 0
|
||||
#define EmRTC 1
|
||||
#define EmPMU 0
|
||||
#define EmVIA2 0
|
||||
#define Use68020 0
|
||||
#define EmFPU 0
|
||||
#define EmMMU 0
|
||||
#define EmASC 0
|
||||
|
||||
#define CurEmMd kEmMd_Plus
|
||||
|
||||
#define kMyClockMult 1
|
||||
|
||||
#define WantCycByPriOp 1
|
||||
#define WantCloserCyc 0
|
||||
|
||||
#define kRAMa_Size 0x00200000
|
||||
#define kRAMb_Size 0x00200000
|
||||
|
||||
#define IncludeVidMem 0
|
||||
|
||||
#define EmVidCard 0
|
||||
|
||||
#define MaxATTListN 16
|
||||
#define IncludeExtnPbufs 1
|
||||
#define IncludeExtnHostTextClipExchange 1
|
||||
|
||||
#define Sony_SupportDC42 1
|
||||
#define Sony_SupportTags 1
|
||||
#define Sony_WantChecksumsUpdated 1
|
||||
#define Sony_VerifyChecksums 0
|
||||
#define CaretBlinkTime 0x03
|
||||
#define SpeakerVol 0x07
|
||||
#define DoubleClickTime 0x05
|
||||
#define MenuBlink 0x03
|
||||
#define AutoKeyThresh 0x06
|
||||
#define AutoKeyRate 0x03
|
||||
|
||||
|
||||
/* the Wire variables are 1/0, not true/false */
|
||||
|
||||
enum {
|
||||
|
||||
Wire_VIA1_iA0_SoundVolb0,
|
||||
#define SoundVolb0 (Wires[Wire_VIA1_iA0_SoundVolb0])
|
||||
#define VIA1_iA0 (Wires[Wire_VIA1_iA0_SoundVolb0])
|
||||
|
||||
Wire_VIA1_iA1_SoundVolb1,
|
||||
#define SoundVolb1 (Wires[Wire_VIA1_iA1_SoundVolb1])
|
||||
#define VIA1_iA1 (Wires[Wire_VIA1_iA1_SoundVolb1])
|
||||
|
||||
Wire_VIA1_iA2_SoundVolb2,
|
||||
#define SoundVolb2 (Wires[Wire_VIA1_iA2_SoundVolb2])
|
||||
#define VIA1_iA2 (Wires[Wire_VIA1_iA2_SoundVolb2])
|
||||
|
||||
Wire_VIA1_iA4_MemOverlay,
|
||||
#define MemOverlay (Wires[Wire_VIA1_iA4_MemOverlay])
|
||||
#define VIA1_iA4 (Wires[Wire_VIA1_iA4_MemOverlay])
|
||||
#define VIA1_iA4_ChangeNtfy MemOverlay_ChangeNtfy
|
||||
|
||||
Wire_VIA1_iA6_SCRNvPage2,
|
||||
#define SCRNvPage2 (Wires[Wire_VIA1_iA6_SCRNvPage2])
|
||||
#define VIA1_iA6 (Wires[Wire_VIA1_iA6_SCRNvPage2])
|
||||
|
||||
Wire_VIA1_iA5_IWMvSel,
|
||||
#define IWMvSel (Wires[Wire_VIA1_iA5_IWMvSel])
|
||||
#define VIA1_iA5 (Wires[Wire_VIA1_iA5_IWMvSel])
|
||||
|
||||
Wire_VIA1_iA7_SCCwaitrq,
|
||||
#define SCCwaitrq (Wires[Wire_VIA1_iA7_SCCwaitrq])
|
||||
#define VIA1_iA7 (Wires[Wire_VIA1_iA7_SCCwaitrq])
|
||||
|
||||
Wire_VIA1_iB0_RTCdataLine,
|
||||
#define RTCdataLine (Wires[Wire_VIA1_iB0_RTCdataLine])
|
||||
#define VIA1_iB0 (Wires[Wire_VIA1_iB0_RTCdataLine])
|
||||
#define VIA1_iB0_ChangeNtfy RTCdataLine_ChangeNtfy
|
||||
|
||||
Wire_VIA1_iB1_RTCclock,
|
||||
#define RTCclock (Wires[Wire_VIA1_iB1_RTCclock])
|
||||
#define VIA1_iB1 (Wires[Wire_VIA1_iB1_RTCclock])
|
||||
#define VIA1_iB1_ChangeNtfy RTCclock_ChangeNtfy
|
||||
|
||||
Wire_VIA1_iB2_RTCunEnabled,
|
||||
#define RTCunEnabled (Wires[Wire_VIA1_iB2_RTCunEnabled])
|
||||
#define VIA1_iB2 (Wires[Wire_VIA1_iB2_RTCunEnabled])
|
||||
#define VIA1_iB2_ChangeNtfy RTCunEnabled_ChangeNtfy
|
||||
|
||||
Wire_VIA1_iA3_SoundBuffer,
|
||||
#define SoundBuffer (Wires[Wire_VIA1_iA3_SoundBuffer])
|
||||
#define VIA1_iA3 (Wires[Wire_VIA1_iA3_SoundBuffer])
|
||||
|
||||
Wire_VIA1_iB3_MouseBtnUp,
|
||||
#define MouseBtnUp (Wires[Wire_VIA1_iB3_MouseBtnUp])
|
||||
#define VIA1_iB3 (Wires[Wire_VIA1_iB3_MouseBtnUp])
|
||||
|
||||
Wire_VIA1_iB4_MouseX2,
|
||||
#define MouseX2 (Wires[Wire_VIA1_iB4_MouseX2])
|
||||
#define VIA1_iB4 (Wires[Wire_VIA1_iB4_MouseX2])
|
||||
|
||||
Wire_VIA1_iB5_MouseY2,
|
||||
#define MouseY2 (Wires[Wire_VIA1_iB5_MouseY2])
|
||||
#define VIA1_iB5 (Wires[Wire_VIA1_iB5_MouseY2])
|
||||
|
||||
Wire_VIA1_iCB2_KybdDat,
|
||||
#define VIA1_iCB2 (Wires[Wire_VIA1_iCB2_KybdDat])
|
||||
#define VIA1_iCB2_ChangeNtfy Kybd_DataLineChngNtfy
|
||||
|
||||
Wire_VIA1_iB6_SCRNbeamInVid,
|
||||
#define SCRNbeamInVid (Wires[Wire_VIA1_iB6_SCRNbeamInVid])
|
||||
#define VIA1_iB6 (Wires[Wire_VIA1_iB6_SCRNbeamInVid])
|
||||
|
||||
Wire_VIA1_iB7_SoundDisable,
|
||||
#define SoundDisable (Wires[Wire_VIA1_iB7_SoundDisable])
|
||||
#define VIA1_iB7 (Wires[Wire_VIA1_iB7_SoundDisable])
|
||||
|
||||
Wire_VIA1_InterruptRequest,
|
||||
#define VIA1_InterruptRequest (Wires[Wire_VIA1_InterruptRequest])
|
||||
#define VIA1_interruptChngNtfy VIAorSCCinterruptChngNtfy
|
||||
|
||||
Wire_SCCInterruptRequest,
|
||||
#define SCCInterruptRequest (Wires[Wire_SCCInterruptRequest])
|
||||
#define SCCinterruptChngNtfy VIAorSCCinterruptChngNtfy
|
||||
|
||||
kNumWires
|
||||
};
|
||||
|
||||
|
||||
/* VIA configuration */
|
||||
#define VIA1_ORA_FloatVal 0xFF
|
||||
#define VIA1_ORB_FloatVal 0xFF
|
||||
#define VIA1_ORA_CanIn 0x80
|
||||
#define VIA1_ORA_CanOut 0x7F
|
||||
#define VIA1_ORB_CanIn 0x79
|
||||
#define VIA1_ORB_CanOut 0x87
|
||||
#define VIA1_IER_Never0 (1 << 1)
|
||||
#define VIA1_IER_Never1 ((1 << 3) | (1 << 4))
|
||||
#define VIA1_CB2modesAllowed 0x01
|
||||
#define VIA1_CA2modesAllowed 0x01
|
||||
|
||||
#define Mouse_Enabled SCC_InterruptsEnabled
|
||||
|
||||
#define VIA1_iCA1_PulseNtfy VIA1_iCA1_Sixtieth_PulseNtfy
|
||||
#define Sixtieth_PulseNtfy VIA1_iCA1_Sixtieth_PulseNtfy
|
||||
|
||||
#define VIA1_iCA2_PulseNtfy VIA1_iCA2_RTC_OneSecond_PulseNtfy
|
||||
#define RTC_OneSecond_PulseNtfy VIA1_iCA2_RTC_OneSecond_PulseNtfy
|
||||
|
||||
#define GetSoundInvertTime VIA1_GetT1InvertTime
|
||||
|
||||
#define KYBD_ShiftInData VIA1_ShiftOutData
|
||||
#define KYBD_ShiftOutData VIA1_ShiftInData
|
||||
|
||||
#define kCheckSumRom_Size kROM_Size
|
||||
|
||||
#define kExtn_Block_Base 0x00F40000
|
||||
#define kExtn_ln2Spc 5
|
||||
|
||||
#define kROM_Base 0x00400000
|
||||
#define kROM_ln2Spc 20
|
||||
|
||||
#define WantDisasm 0
|
||||
#define ExtraAbnormalReports 0
|
1
Mini vMac/mnvm_core/COMOSGLU.h
Executable file
1
Mini vMac/mnvm_core/COMOSGLU.h
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/DATE2SEC.h
Executable file
1
Mini vMac/mnvm_core/DATE2SEC.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/ENDIANAC.h
Executable file
1
Mini vMac/mnvm_core/ENDIANAC.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/GLOBGLUE.c
Executable file
1
Mini vMac/mnvm_core/GLOBGLUE.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/GLOBGLUE.h
Executable file
1
Mini vMac/mnvm_core/GLOBGLUE.h
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/INTLCHAR.h
Executable file
1
Mini vMac/mnvm_core/INTLCHAR.h
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/IWMEMDEV.c
Executable file
1
Mini vMac/mnvm_core/IWMEMDEV.c
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/IWMEMDEV.h
Executable file
1
Mini vMac/mnvm_core/IWMEMDEV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/KBRDEMDV.c
Executable file
1
Mini vMac/mnvm_core/KBRDEMDV.c
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/KBRDEMDV.h
Executable file
1
Mini vMac/mnvm_core/KBRDEMDV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/M68KITAB.c
Executable file
1
Mini vMac/mnvm_core/M68KITAB.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/M68KITAB.h
Executable file
1
Mini vMac/mnvm_core/M68KITAB.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/MINEM68K.c
Executable file
1
Mini vMac/mnvm_core/MINEM68K.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/MINEM68K.h
Executable file
1
Mini vMac/mnvm_core/MINEM68K.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/MOUSEMDV.c
Executable file
1
Mini vMac/mnvm_core/MOUSEMDV.c
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/MOUSEMDV.h
Executable file
1
Mini vMac/mnvm_core/MOUSEMDV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/MYOSGLUE.h
Executable file
1
Mini vMac/mnvm_core/MYOSGLUE.h
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/PROGMAIN.c
Executable file
1
Mini vMac/mnvm_core/PROGMAIN.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/PROGMAIN.h
Executable file
1
Mini vMac/mnvm_core/PROGMAIN.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/ROMEMDEV.c
Executable file
1
Mini vMac/mnvm_core/ROMEMDEV.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/ROMEMDEV.h
Executable file
1
Mini vMac/mnvm_core/ROMEMDEV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/RTCEMDEV.c
Executable file
1
Mini vMac/mnvm_core/RTCEMDEV.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/RTCEMDEV.h
Executable file
1
Mini vMac/mnvm_core/RTCEMDEV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SCCEMDEV.c
Executable file
1
Mini vMac/mnvm_core/SCCEMDEV.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/SCCEMDEV.h
Executable file
1
Mini vMac/mnvm_core/SCCEMDEV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SCRNEMDV.c
Executable file
1
Mini vMac/mnvm_core/SCRNEMDV.c
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SCRNEMDV.h
Executable file
1
Mini vMac/mnvm_core/SCRNEMDV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SCRNMAPR.h
Executable file
1
Mini vMac/mnvm_core/SCRNMAPR.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SCSIEMDV.c
Executable file
1
Mini vMac/mnvm_core/SCSIEMDV.c
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SCSIEMDV.h
Executable file
1
Mini vMac/mnvm_core/SCSIEMDV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SNDEMDEV.c
Executable file
1
Mini vMac/mnvm_core/SNDEMDEV.c
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SNDEMDEV.h
Executable file
1
Mini vMac/mnvm_core/SNDEMDEV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/SONYEMDV.c
Executable file
1
Mini vMac/mnvm_core/SONYEMDV.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/SONYEMDV.h
Executable file
1
Mini vMac/mnvm_core/SONYEMDV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/STRCONST.h
Executable file
1
Mini vMac/mnvm_core/STRCONST.h
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/SYSDEPNS.h
Executable file
1
Mini vMac/mnvm_core/SYSDEPNS.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
1
Mini vMac/mnvm_core/VIAEMDEV.c
Executable file
1
Mini vMac/mnvm_core/VIAEMDEV.c
Executable file
File diff suppressed because one or more lines are too long
1
Mini vMac/mnvm_core/VIAEMDEV.h
Executable file
1
Mini vMac/mnvm_core/VIAEMDEV.h
Executable file
@@ -0,0 +1 @@
|
||||
/*
|
Reference in New Issue
Block a user