Comments (2)
yes i know that some n00bs want to use basic with asm
but this shit is interferes with coding on pure asm
I don't want to write
dup $4000 on every fckn page everytime
sometimes i forgoting to do this (i totaly doesn't expect shit like this from compiller)
and got some extra glitches
from sjasmplus.
All pages except default mapped ZX stuff are zeroed.
So all you need is right after DEVICE ZXSPECTRUM... : DS $10000, 0 : ORG 0
(64ki fill)
like this:
ped@ped7g-sb:~$ sjasmplus - --msg=war
SjASMPlus Z80 Cross-Assembler v1.20.1 (https://github.com/z00m128/sjasmplus)
DEVICE ZXSPECTRUM256 : DS $10000,0 : ORG 0
SAVEDEV "testdev.bin", 0, 0, 256*1024
ped@ped7g-sb:~$ hd testdev.bin
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00040000
256kiB of zeroes.
I honestly would find it more difficult to remember some new command or switch, than to just clear the memory myself, so I'm not sure what you want to do about this one, it would be a major change of default behaviour, I don't feel brave enough to do that with 1.x branch, and the workaround is trivial.
from sjasmplus.
Related Issues (20)
- There is no <warning-id> for %some error/warning% HOT 9
- use label as arg for macro, and then use sub label HOT 6
- lua integration is broken since at least v1.10.4, the external libs for bitwise/hex conversion don't init (`LUA_ERRSYNTAX`)
- docs: add explanation and example how 3-pass (N-pass) assemblers work and what does it mean in sjasmplus. HOT 1
- relocation -> support for 256B aligned relocation mode (useful for symbOS and NextZXOS drivers)
- Lua: fix file+line numbers in errors in more complex cases
- make "Unrecognized option" message error-like, to be harder to overlook, and affect exit code as well
- allow defining custom Devices
- WTF Dup bug HOT 2
- 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
- if __PASS__ without endif wrong errors HOT 3
- optional saving symbol table (--sym=) WITHOUT EQU HOT 4
- --exp= without export doesn't produse empty export file
- saving in doesn't existing folder causing unnecesary fatal error instead of creating new folder HOT 1
- Allow multiple labels as arguments of IFUSED HOT 3
- Multiple ORG directives silently ignored? HOT 2
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.