Jump to content
IGNORED

Ballblazer for 2 Ataris connected by serial cable - would it be possible?


Recommended Posts

I have finished my Ballblazer grid engine with horizontal and vertical anti-aliasing! (for backstory see here:)

By reordering the writes in the Kernel and by using all three processor registers (Duh!) for quicker write succession in each scanline for Hscrol, colpf0, colpf1, colpf2 and colbak I managed to avoid any noticeable mid-line color change glitches! 

I am quite pleased with the result - although there is virtually no time left in the code whatsoever for any game logic or anything (if I wanted to stick to 50 fps that is...) And it only runs on PAL machines.

 

But this got me thinking, would it be basically possible to have such a full screen, one person-only version of Ballblazer running on two computers each, connected perhaps via joystick input/output connections (800 has 4 ports) playing against each other, both machines sharing the same game world?

 

image.thumb.png.d7eb088fba6b34b2bed2dc0d77245155.png

 

 

BBgrid03.xex

Edited by bugbiter
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Hello Thom, bugbiter

 

Since "FujiNet MidiMaze mode" basically is MIDI-Mate emulation, this should also make it work with the MIDI-Mate interface.  MultiLink would be another option, but MIDI-Mate is much more common.

 

Sincerely

 

Mathy

 

Link to comment
Share on other sites

Possibly - in theory such a game could work, all you really need is to be in sync and receive the controller input from the other machine.

Stuff like Random could be changed to do it by software rather than reading the register, a seed could be generated then shared.

A potential issue is that you aren't frame-locked so VBlank on one machine could occur when the other is at mid screen.

But serial data transmission by Pokey is such that you can do it at stock or the low turbo speeds and still have stuff like DLIs going on.  The game might need modifying to ensure the VBlank period where IRQs are disabled is as brief as possible.

Link to comment
Share on other sites

Shouldn't need to enable IRQs at all, POKEY will queue one byte in either direction, and shouldn't overflow if the rate is far enough below 1 byte/frame.

 

Besides the frame offset, the two computers won't be running at exactly the same rate, either, so the gameplay would have to run asynchronously from rendering for lockstep networking.

 

Link to comment
Share on other sites

Could probably work out the offset from when the byte is received - just do a frame wait if one drops out of sync to the point where the gameplay would be affected.

For PAL vs NTSC I think the technical challenge might be too much for a game like this.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...