Setup / Include File / Assembler / Compiler etc #1
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
|
I'd keep actual routines and snippets separate from ports/hardware headers. They should probably go in repos defined by category (e.g. "math-routines", "text-routines", "keyboard-routines"), so that people can consume specific versions as they might change over time. There's two kinds of usage - macros (so INCLUDE "" the macro, and then use it elsewhere), and full source file inclusion. (I imagine most will come in both flavors so they can be directly inlined; so the source file just includes the macro and uses it once with a named entrypoint). Gets trickier with data, so we need readmes for each routine. Specific assembler... god.. that's a hard one. I'm writing one which abandons a lot of the COMET era syntax. I think what we might end up with is some kind of machine translation between different assemblers, and try to specify a specific core. For now we might just want to have folders which clearly identify which assembler people are targeting. I imagine most people will use Pyz80 until there's something better. We can just roll with the punches for that. IMO the goal is to shift development to modern computers and output SAM-compatible stuff, so having a ton of files should probably be the norm - the penalty associated with it is minimal - and that way you end up with logically grouped routines in a single file, but most of the time, one routine per file. Worst case people can always download it, and then cut & paste into their project. Just my 2p. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So lets get some opinions going.
Beta Was this translation helpful? Give feedback.
All reactions