Code Monkey home page Code Monkey logo

Comments (2)

NEO-SPECTRUMAN avatar NEO-SPECTRUMAN commented on July 19, 2024

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.

ped7g avatar ped7g commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.