Comments (2)
If I understand you correctly, your issue is that Pack.Size
is different when building with _REBUILD
(raw uncompressed data size) vs building without _REBUILD
when the Pack.Size
is the compressed size of .ar
file.
I think for this the least hacky way is to preserve raw labels from _REBUILD
type of build, which can be done for example with help of EXPORT
feature: http://z00m128.github.io/sjasmplus/documentation.html#po_export
You can then INCLUDE
the resulting file in non-REBUILD builds, and use different labels for compressed size if you need also that, etc.
I'm using that in my own displayedge
library to give possible option of building the library binary with sjasmplus and including/use that in project using other assembler/build tools (if it is at least compatible with those equ
in the exported file).
Let me know, if I understood you correctly, and if this helps, or why you can't use this approach.
from sjasmplus.
Sorry that it took so long, I tried different things, in general you can live with this, but itβs very inconvenient to use this.
If it were possible to assign a file name in the right place via OPT, may be would improve the situation.
in general, now my assembly is not automatic but manual in 3 passes
- creating export lables (not archived data)
- based on export lables, creating code and archiving them
- assembly of code taking into account compressed data
from sjasmplus.
Related Issues (20)
- allow defining custom Devices
- Building on Alpine Linux fails due to clash with constant in musl limits.h HOT 1
- SAVETAP: codeblock of 166 bytes length starting at 0xFF59 saved to .tap HOT 2
- Typo on warning
- [1.20.1][ubuntu 22.04][mingw-w64] Can't compile windows exe without modifying Makefile // Recommendation in Makefile is also not full
- Allow multiple labels as arguments of IFUSED HOT 3
- Multiple ORG directives silently ignored? HOT 2
- Interest in adding a new Z80 device ? VZ200/Laser210 HOT 3
- Incorrect compilation of DC with one symbol in single quotes HOT 5
- Not everything works after return from snapshot to Basic HOT 2
- Arrow keys and ESC don't work after invoking sjasmplus HOT 5
- Tests may fail due to locale settings
- duplicate lables HOT 1
- bplist: MAME support HOT 1
- union HOT 1
- lua block parsing inside macro is not aware of being inside lua block, applying sjasmplus parsing rules (colons!) HOT 1
- Concern about instructions like add a,b HOT 4
- Missing FAKE INSTRUCTIONS like "ex bc, hl" and other combinations that exploit "ex (sp), rr" HOT 4
- INCBIN command assumes current OS path based on the .asm file where it resides. Does this have to be the case? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sjasmplus.