mirror of
https://github.com/jeremysrand/BuGS.git
synced 2025-01-04 23:30:06 +00:00
Add some infrastructure to be able to test networking code from within the emulator.
This commit is contained in:
parent
c3302102d7
commit
701d9fd312
@ -96,6 +96,7 @@
|
|||||||
9D3396FF24AED09D003222B3 /* sprites.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = sprites.md; sourceTree = "<group>"; };
|
9D3396FF24AED09D003222B3 /* sprites.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = sprites.md; sourceTree = "<group>"; };
|
||||||
9D33970024AEFBF2003222B3 /* segments.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = segments.s; sourceTree = "<group>"; };
|
9D33970024AEFBF2003222B3 /* segments.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = segments.s; sourceTree = "<group>"; };
|
||||||
9D33970124AF9D55003222B3 /* sprites.macros */ = {isa = PBXFileReference; lastKnownFileType = text; path = sprites.macros; sourceTree = "<group>"; };
|
9D33970124AF9D55003222B3 /* sprites.macros */ = {isa = PBXFileReference; lastKnownFileType = text; path = sprites.macros; sourceTree = "<group>"; };
|
||||||
|
9D40049726575A8100478FB2 /* system601_net.2mg */ = {isa = PBXFileReference; lastKnownFileType = file; path = system601_net.2mg; sourceTree = "<group>"; };
|
||||||
9D47CBE02547BEDB00CDA5CB /* gameMushroom.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = gameMushroom.s; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.asm.orcam; };
|
9D47CBE02547BEDB00CDA5CB /* gameMushroom.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = gameMushroom.s; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.asm.orcam; };
|
||||||
9D47CC14254A698900CDA5CB /* gamePlayer.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = gamePlayer.s; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.asm.orcam; };
|
9D47CC14254A698900CDA5CB /* gamePlayer.s */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm; path = gamePlayer.s; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.asm.orcam; };
|
||||||
9D47CCBA25525C1A00CDA5CB /* genData.pl */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; path = genData.pl; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.perl; };
|
9D47CCBA25525C1A00CDA5CB /* genData.pl */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; path = genData.pl; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.perl; };
|
||||||
@ -240,6 +241,7 @@
|
|||||||
9D1716A02491C49300C83148 /* orca-cc */,
|
9D1716A02491C49300C83148 /* orca-cc */,
|
||||||
9D1716A22491C49300C83148 /* orca-rez */,
|
9D1716A22491C49300C83148 /* orca-rez */,
|
||||||
9D1716A42491C49300C83148 /* system601.2mg */,
|
9D1716A42491C49300C83148 /* system601.2mg */,
|
||||||
|
9D40049726575A8100478FB2 /* system601_net.2mg */,
|
||||||
9D1716A62491C49300C83148 /* tail.mk */,
|
9D1716A62491C49300C83148 /* tail.mk */,
|
||||||
);
|
);
|
||||||
path = make;
|
path = make;
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
<key>DiskImage.xcscheme_^#shared#^_</key>
|
<key>DiskImage.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>3</integer>
|
<integer>2</integer>
|
||||||
</dict>
|
</dict>
|
||||||
<key>doNotBuild.xcscheme_^#shared#^_</key>
|
<key>doNotBuild.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>2</integer>
|
<integer>3</integer>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -6,9 +6,11 @@ s5d2 =
|
|||||||
s6d1 =
|
s6d1 =
|
||||||
s6d2 =
|
s6d2 =
|
||||||
|
|
||||||
s7d1 = /Users/jrand/Coding/AppleCoding/Apple2GS/BuGS/BuGS/make/system601.2mg
|
s7d1 = /Users/jrand/Coding/AppleCoding/Apple2GS/BuGS/BuGS/make/system601_net.2mg
|
||||||
|
|
||||||
|
g_ethernet = 1
|
||||||
g_limit_speed = 3
|
g_limit_speed = 3
|
||||||
|
g_ethernet = 1
|
||||||
|
|
||||||
|
|
||||||
bram1[00] = 00 00 00 01 00 00 0d 06 02 01 01 00 01 00 00 00
|
bram1[00] = 00 00 00 01 00 00 0d 06 02 01 01 00 01 00 00 00
|
||||||
|
@ -29,7 +29,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# This magic ensures that clicking stop in Xcode results in the emulator terminating.
|
# This magic ensures that clicking stop in Xcode results in the emulator terminating.
|
||||||
if true
|
if false
|
||||||
then
|
then
|
||||||
cd make
|
cd make
|
||||||
sed -i "" "s:^s7d1 *=.*$:s7d1 = $BOOTIMAGE:
|
sed -i "" "s:^s7d1 *=.*$:s7d1 = $BOOTIMAGE:
|
||||||
@ -38,7 +38,7 @@ s:^s5d1 *=.*:s5d1 = $DISKIMAGE:" config.txt
|
|||||||
PID=$!
|
PID=$!
|
||||||
else
|
else
|
||||||
cd "/Users/jrand/Library/Application Support/Ample"
|
cd "/Users/jrand/Library/Application Support/Ample"
|
||||||
/Applications/Ample.app/Contents/MacOS/mame64 apple2gs -skip_gameinfo -mouse -window -resolution 1408x1056 -ramsize 4M -sl7 cffa202 -hard1 "$BOOTIMAGE" -flop3 "$DISKIMAGE" &
|
/Applications/Ample.app/Contents/MacOS/mame64 apple2gs -skip_gameinfo -mouse -window -resolution 1408x1056 -ramsize 4M -sl3 uthernet -sl7 cffa2 -hard1 "$BOOTIMAGE" -flop3 "$DISKIMAGE" &
|
||||||
PID=$!
|
PID=$!
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
BIN
BuGS/make/system601_net.2mg
Normal file
BIN
BuGS/make/system601_net.2mg
Normal file
Binary file not shown.
@ -184,7 +184,7 @@ $(DISKIMAGE): $(TARGETDIR)/$(PGM)
|
|||||||
execute: $(EXECTARGET)
|
execute: $(EXECTARGET)
|
||||||
|
|
||||||
executeGUI: all
|
executeGUI: all
|
||||||
make/launchEmulator make/system601.2mg $(DISKIMAGE)
|
make/launchEmulator make/system601_net.2mg $(DISKIMAGE)
|
||||||
|
|
||||||
executeShell: all
|
executeShell: all
|
||||||
$(ORCA) $(TARGETDIR)/$(PGM)
|
$(ORCA) $(TARGETDIR)/$(PGM)
|
||||||
|
Loading…
Reference in New Issue
Block a user