Repository navigation
Atari ST: runs on a 520 ST (512 KB) #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ | |
| PLAYERS=4 LOCAL_HOST=2 LOCAL_JOIN=2 ... seats, as in tools/crossplay.py | ||
| RELAY=api.mzpico.com:80 the relay (default the local one, 127.0.0.1:8765) | ||
| ST_MACHINE=ste the machine (default st) | ||
| ST_MEMSIZE=0 512 KB (Hatari's --memsize: 0, or MB; default 1) | ||
| ST_DISPLAY=:98 the X display (default AMIGA_DISPLAY, :97) | ||
| """ | ||
| import os, shutil, subprocess, sys, time | ||
|
|
@@ -45,7 +46,7 @@ def __init__(self, role, nomap=True): | |
| while not os.path.exists(link) and time.time() - t < 5: time.sleep(0.1) | ||
| cfg = f'{out}/hatari.cfg' | ||
| open(cfg, 'w').write('') | ||
| self.p = subprocess.Popen(['hatari', '--configfile', cfg, '--tos', TOS, '--machine', MACHINE, '--memsize', '1', | ||
| self.p = subprocess.Popen(['hatari', '--configfile', cfg, '--tos', TOS, '--machine', MACHINE, '--memsize', os.environ.get('ST_MEMSIZE', '1'), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| '--harddrive', self.hd, '--fast-forward', 'no', '--sound', 'off', '--confirm-quit', 'no', | ||
| '--statusbar', 'no', '--drive-led', 'no', '--window', '--cmd-fifo', self.fifo, | ||
| '--rs232-in', link, '--rs232-out', link], | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: MZPico/BomberNet
Length of output: 9694
Script executed:
Repository: MZPico/BomberNet
Length of output: 24696
Script executed:
Repository: MZPico/BomberNet
Length of output: 48445
Correct the CI coverage statement.
CI runs the replay and modem match from hard-drive directories. It does not boot a floppy at 512 KB. State which checks CI runs.
Suggested fix
Committable suggestion
Script executed:
Repository: MZPico/BomberNet
Length of output: 14868
Script executed:
Repository: MZPico/BomberNet
Length of output: 16001
Script executed:
Repository: MZPico/BomberNet
Length of output: 15949
Script executed:
Repository: MZPico/BomberNet
Length of output: 17920
Correct the documented CI match configuration.
The 512 KB CI match uses two players, with one local player per ST. A four-player-only regression can pass this check. Update the documentation to state the CI configuration, or configure CI to run the four-player match.