Jump to content

fox

Members
  • Content Count

    266
  • Joined

  • Last visited

Everything posted by fox

  1. xasm 2 and xasm 3 generate DOS headers at a different time. xasm 2 generates a header for the first byte of the block, so the order of "opt h-" vs "org" doesn't matter. xasm 3 generates a header when assembling "org", so "opt h-" must precede "org". Just swap these directives in your code.
  2. xasm 2.x (and tools) is 16-bit MS-DOS. 64-bit Windows don't run 16-bit MS-DOS applications. XBOOT is discontinued as all emulators and SIO2PC software run XEXes now. Regarding opt h-, will you show me your source code?
  3. The OS X binary is 32-bit Intel, but requires OS X 10.6+. dmd refused to target 10.5. If you can compile xasm so that it runs on 10.5 (or better 10.4), please let me know.
  4. Xuel: thank you. I've added link to vim-xasm in xasm README. Heaven: Reliability, full documentation, cross-platformness. What I mean by reliability: I've just made a quick check if "file byte expression" is supported by MADS: opt h- dta {ins 'test.asx',0} MADS compiles that without errors, but the output byte is zero.
  5. You can look at source code of http://recoil.sourceforge.net Specifically, entry point for FLI format decoding is DecodeFli in recoil.ci.
  6. Hello, I've just made a new release of xasm. xasm is a 6502 cross-assembler with original syntax extensions. Changes from 3.0.2: OS X, Ubuntu and Fedora packages (in addition to Windows) INS ("insert binary file") directive can be repeated (suggested by Marek Pavlik) any expression can take value of n-th file byte, using the syntax {INS 'filename',offset} OPT U- disables /u unused label warnings (suggested by Marek Pavlik) if the file to be included cannot be open, report error in the ICL line (suggested by Peter Dell) /M now filters out duplicate filenames /p implemented outside Windows xasm source code updated to the version 2 of the D programming language project moved to GitHub In Ubuntu you can install scite (system-provided) and xasm-scite to get syntax highlighing, single-keystroke compilation and clickable error messages. On other systems you need to copy xasm.properties to the SciTE directory. New website: https://github.com/pfusik/xasm Downloads: https://github.com/pfusik/xasm/releases/tag/xasm-3.1.0
  7. No, ^1F means $D01F - and it is clearly documented. GTIA registers are needed more often than New Devices.
  8. You are correct. Both are documented: "+" is my comment and ",0" is a pseudo addressing mode. I used to use single-character comments: "+" = this instruction always executes with Carry flag set (useful for omitting SEC before SBC) "-" = likewise, Carry clear "!" = this branch executes always (acts as JMP, but shorter) "." = (rarely used) self-modified code This practice stemmed from Quick Assembler's limited buffer size. Same for single-space indentation and short cryptic labels. I've seen worse: bne *+11. mva #0 ^2a is quite readable for me: it's a move pseudo-instruction where the target is a hardware register. It takes me more time to read the expanded form: lda #0 sta $d20a "Ok, you load zero to the accumulator. Ok, then you store the accumulator to a memory location. And this memory location happens to be a hardware register." BTW. I'm slowly working on a new release of xasm.
  9. Little known, but very playable for two players: - Polar Pierre (when bored playing standard levels - which doesn't happen quickly, use the built-in editor, much like Mr Robot's) - Dyna Killers - Major League Hockey
  10. I recommend converting to XEX as described by Xuel, because: - it is compatible with more SAP files than sapemu - doesn't require extended memory (64k is enough) - the converted XEX files are compressed and occupy less disk space than the original SAP files Some minor variations of the command proposed by Xuel: for /r path_to_asma %f in (*.sap) do @asapconv -o .xex %f - doesn't echo the asapconv commands - creates *.xex files instead of *.sap.xex - for /r is a little shorter On Linux/Mac: find path_to_asma -name \*.sap -exec asapconv -o .xex {} \;
  11. Can you provide any details? Obviously you didn't read the documentation. WASAP is controlled by a red tray icon, normally on the bottom-right of your screen. Right-click the red "play" icon and you can stop, exit and more. For playlists etc. use an ASAP plugin to a full-blown music player such as foobar2000, Winamp, xmPlay or many others. Just use the *.msi installer.
  12. Ah yes. Last days I've noticed that pouet breaks on Chrome - logging in doesn't work. I keep the old IE 9 on one of my computers for situations such like this. It perfectly runs pouet.
  13. Why do you use multiple accounts on pouet.net?
  14. As already noted, larger blocks pack better. So you should get more free memory as the compressed data gets smaller. Ok, this is how I coded it in 2000: https://github.com/pfusik/zlib6502 SUB_TABLE and VALUE_TABLE are a concise representation of canonical Huffman trees. Hi Heaven. https://github.com/epi/xebin includes FlashPack compression and decompression.
  15. RAM refresh is reduced to 2 cycles per line most of the time. Doesn't it make some bits flip?
  16. Added IRG and IR2: http://fail.sourceforge.net/html5fail.html
  17. Ok, corrected IPC and IP2 in http://fail.sourceforge.net/html5fail.html
  18. http://fail.sourceforge.net/html5fail.html got updated to support IP2, IMN, ICN and DIN. Synthpopalooza, did you get my email?
  19. Thank you! On my 65 XE this is off one cycle. It works if I for example replace $7C with $7A. Can someone verify that, please? It also works for missiles. The effect doesn't work in latest Altirra nor Atari++. Any chance emulating it?
  20. That is awesome! Can I have sample code, please? Does it work with missiles as well?
  21. English is my second language and I wonder if I should write "Atari 8-bit" or "8-bit Atari" or both forms are acceptable? This forum is called "Atari 8-Bit Computers", so I assume that's correct. Is "8-bit Atari Computers" incorrect? "Music of an Atari 8-bit computer" is "Atari 8-bit music" or "8-bit Atari music" ? Thank you.
  22. I disagree with you JAC! If your OS ROM has a way to perform a cold start, just use it within Altirra. What we discuss here, is how Altirra's command for the cold start should work.
×
×
  • Create New...