Skip to content

BBA Compat update - #42

Draft
QuzarDC wants to merge 19 commits into
masterfrom
bba_compat
Draft

BBA Compat update#42
QuzarDC wants to merge 19 commits into
masterfrom
bba_compat

Conversation

@QuzarDC

@QuzarDC QuzarDC commented Jul 18, 2026

Copy link
Copy Markdown
Member

The intent with these changes is to try to harmonize the style and structure of the dcload-ip BBA driver with KOS' in order to help support improvements in either being moved to the other, additionally to help allow using the dcload driver as a base of testing by cleaning it up some.

Needs substantial review and testing to ensure no accidental regressions. There's still also further updates to be made for pieces like link change. Figured I'd put it up early though for review and commentary.

QuzarDC added 19 commits July 12, 2026 15:34
Due to KallistiOS/KallistiOS#278 the KOS defines had already
been updated to be very close.
The one functional change is that there are now not distinct
return errors for each of the failure possibilities in the last
'magic dance'. They aren't being differentiated though, so they could
only be used for debug purposes.
These have now been completely replaced by their KOS equivalents.
No functional changes, but to note the configs are different
from KOS' default
Tabs to spaces, `{` on same line as statements, `type *`, no
spaces after conditionals, etc
Additionally move defines around gaps code to create a smaller diff.
No intentional behavioral change.
These should be functionally identical with the exception that
there's no need to define `LOOP_TIMING` alongside the specific
one(s) to be printed.
Remove its unused return value, adjust variables and content
to match the KOS driver better.
One was as a huge comment previously `weird_extra_init()` which
seems to be some RE work for the init sequence.

The other is the 'gnarly' function to zero pad undersized packets.
This was previous used in response to overruns but commented out
and swapped with a full re-init. Refactor it out to highlight the
differences with the implementation vs KOS and remove the commented
portion.

The only diff with KOS was setting RXCONFIG twice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant