Skip to content

Conversation

@icex2
Copy link
Contributor

@icex2 icex2 commented Nov 19, 2023

Picked up the work by @shizmob, driving this my recent work on DDR data and there were a lot more things that required addressing and following-up before this very large new feature can be merged.

Initial PRs that spawned this work, huge thanks for the groundwork, @shizmob:

@icex2 icex2 force-pushed the launcher-bootstrap-feature branch 2 times, most recently from 99d1c84 to fb66f0a Compare November 26, 2023 13:46
shizmob and others added 26 commits November 30, 2023 20:40
Fill various (minor) gaps in version numbering of ddr distribution
packages:

* Make A20 and A20+ their own versions to stick to the existing
  versioning scheme in btools
* Add missing distribution bat files for 17 and 18
* Update docs
* Name distribution packages accordingly
Use the dummy "573" ordinal for now. The method is already listed
in avs.h but wasn't used thus far. Require to write some helper/
debug functions to print property node trees from in-memory
data, e.g. after modifying them during the boot process.
Caused a lot of headaches until I started to doubt that the correct
function is being called...
This was tested and works with launcher on ddr x3
AVS version used on ddr-13 and ddr-14-to-18
Mark with 573 ordinal that is not being found to highlight that
the ordinal needs to be fixed. The function is being used to
implement util/debug plumbing for handling property data
in launcher.
Useful to check what's been read into memory and what launcher
modified along the way
Ensure we get full visibility about what's going on once
the configured logging takes over.
icex2 added 7 commits November 30, 2023 20:40
… log

As stated in the comment, having not __type attribute attached,
AVS (at least 2.13.6) returns a different value and doesn't treat
this as a string by default. Call this "untyped" for now to be
able to handle it as a string read on the logging function.
…sions

See the comment in the changeset explaining the problem
Assert data that is expected not to be NULL
0xff value terminates a psmap definition, improves readability
The correct one to use is 2.13.06 and not .04. Furthermore, the
ordinal of property_node_clone was incorrect which has resulted
in odd crashes when using launcher with ddr-13

All other avs API calls were matching and fine though regarding
their ordinal mappings
@icex2 icex2 force-pushed the launcher-bootstrap-feature branch from 274d4b4 to 530e882 Compare November 30, 2023 19:40
icex2 added 4 commits November 30, 2023 22:17
Replace placeholder 573 ordinals with ones sourced from actual
binaries to make ddr 14-18 work with launcher
See the comment in the changeset. Consider this a sort-of
stop gap solution for now until there is more information/
knowledge about the mode flags.
@icex2 icex2 force-pushed the launcher-bootstrap-feature branch from 530e882 to ac13718 Compare November 30, 2023 21:23
icex2 added 8 commits December 1, 2023 23:00
Information provided by co-author

Co-authored-by: LupinThidr
My local mingw version is newer than that, so everything
was considered fine so far.
Use nested structs instead of namespacing with variable names.
Adds flexibility to improve modularization of launcher as
bootstrap.xml's structure is inheritently providing a structure
for having different modules in launcher.
Aligns naming and avoids (personal) confusion
Likely left-over that I forgot to remove
Just moves everything eamuse related from main to a separate
module as a first step. Doesn't address ownership of options/config
or other stuff such as parameter/config overriding, yet.
This includes dealing with loading the configuration from a file
to any kind of mutation of the configuration that launcher needs
to do, e.g. injecting ea3-ident or overriding parameters
(based on command line params)
Align with naming scheme and avoid using "boot" since this
is now being used more like helpers everywhere... so let's go
with a generic "util" even that's not great either.
@icex2 icex2 force-pushed the launcher-bootstrap-feature branch from f62aa74 to b86fe46 Compare January 2, 2024 23:04
icex2 added 4 commits January 28, 2024 21:28
Continue modularization by separating configuration concerns
from the actual module/component.
No need for having extra "context" postfix. It's AVS and
launcher sets it up accordingly to make things work
Fits better into the module/context of AVS than the main module
of launcher.
@icex2 icex2 force-pushed the launcher-bootstrap-feature branch from 2e4a183 to 4798ed8 Compare January 28, 2024 20:28
@icex2
Copy link
Contributor Author

icex2 commented Jan 29, 2024

#277 supersedes this PR, closing

@icex2 icex2 closed this Jan 29, 2024
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.

3 participants