Важная информация

Поиск:

Тип: Сообщения; Пользователь: Ped7g; Ключевые слова:

Страница 1 из 3 1 2 3

Поиск: На поиск затрачено 0.02 сек.

  1. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    It was always directive, documented as:...

    It was always directive, documented as: http://z00m128.github.io/sjasmplus/documentation.html#po_end

    (it's more than 10 years old paragraph)

    But it didn't work as documented, so I fixed it...
  2. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    v1.14.3 released

    https://github.com/z00m128/sjasmplus/releases/tag/v1.14.3

    v1.14.3 changelog:
    - fix detection of `.end:` and `.END` labels when `--dirbol` is used
    - added export of SLD (Source Level Debugging)...
  3. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    The difference is subtle, the old syntax does...

    The difference is subtle, the old syntax does this:
    pass1:
    `call` will search for both "@test.test1" and "@test1", both fails, adds into symbol table "@test.test1" as "used + undefined" symbol.
    ...
  4. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    Ah, interesting, but I think I know what is...

    Ah, interesting, but I think I know what is happening.

    The line `call test1` is inside module `test`, so it has ambiguous interpretation, it can be either `call test.test1` calling another...
  5. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    nepanimaju. style1a IFUSED ; same...

    nepanimaju.


    style1a IFUSED ; same line
    ld b,b
    ENDIF

    style1b
    IFUSED ; after label is defined
    ld b,d
  6. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    added to github issues, may happen (probably...

    added to github issues, may happen (probably still in v1.14.x) (larger sizes will probably work easily too, I think 2GiB would be first size to run into some minor problems, as the expression...
  7. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    If you know the checksum was zero before running...

    If you know the checksum was zero before running the checksum loop, you can just do full $4000 DUP on first area (no need to split it), the result should be same?
    (or you can clear it before...
  8. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    That's "correct" (but annoying), it's signed...

    That's "correct" (but annoying), it's signed int8_t, so in source should be value -128 .. +127 ($FA = -6: `ld hl,sp-6` is correct syntax)
    ... it should have been just warning, but I'm reusing the...
  9. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    https://github.com/z00m128/sjasmplus/releases/tag/...

    https://github.com/z00m128/sjasmplus/releases/tag/v1.14.2

    v1.14.2 changelog:
    - added i8080 mode (--i8080 CLI option) (it's still Z80 Zilog syntax, just limited instruction set)
    - added Sharp...
  10. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    Hey.. it just now occurred to me... GB is using...

    Hey.. it just now occurred to me... GB is using banking to read all that ROM cartridge, right?
    any examples, how it is done, and if anything useful can be improved on sjasmplus side?
    Or is device...
  11. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    Exactly. :) ... from your examples the first and...

    Exactly. :) ... from your examples the first and third should do warning and second not (even if that value is `halt`). But it can even more tricky.
    For example:


    DUP 4
    nop : halt
    ...
  12. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    I think I have catched a glimpse of some note...

    I think I have catched a glimpse of some note about GBC using stop + value as mechanism to modify some console HW settings, but I may be wrong (and I don't care). Either way, the `stop` is two byte...
  13. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    NEO: most of the tests added, few bugs fixed (Z80...

    NEO: most of the tests added, few bugs fixed (Z80 opcodes generated for invalid instructions) ...
    https://github.com/z00m128/sjasmplus/tree/master/tests/lr35902

    I think this is now very closed to...
  14. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    I think it would make some sense to collect these...

    I think it would make some sense to collect these tricks/ideas/warnings about how to make your life easier while programming GB ROM into some kind of blog, or document, maybe even just...
  15. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    And I 100% don't want to go *there*. You can...

    And I 100% don't want to go *there*. You can always create yourself:


    halt MACRO
    halt : nop
    ENDM

    (and emit only-halt by halt" if you want to avoid the macro halt+nop on...
  16. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    It repeats opcode only when `halt` is encountered...

    It repeats opcode only when `halt` is encountered in `DI` mode? (from what I have read, I have zero real experience) (contrary to ZX where such situation is total freeze - until NMI/reset).
    ...
  17. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    Ok, "--lr35902" added to sjasmplus. You can check...

    Ok, "--lr35902" added to sjasmplus. You can check the listing of the test to see which variants of syntax are supported and which not....
  18. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    excellent, thank you... chewing on it now... -...

    excellent, thank you... chewing on it now...

    - - - Updated - - -

    the "ld hl,[sp+$00]" (bgb) is atrocious, I'm not going to add support for this one by 100%.

    Seems `ld hl,sp+<expression>` has...
  19. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    good, that's sjasmplus compatible way (with...

    my first guess would be (in sjasmplus mostly compatible way, "easy" to add):
    ldh a,[$xx] + ld a,[$ffxx] ; impossible to create 3byte `ld a,[$ffxx]` (except using `db` or other hack)
    ldh a,[c] +...
  20. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    дa, можно. (BSD-3 license, open source). But not...

    дa, можно. (BSD-3 license, open source). But not *me*.




    Again, if anyone [else] wants to create it, I certainly can't stop him.

    But as long as we are talking about extra option to the...
  21. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    The i8080 mode: it's actually still the same Z80...

    The i8080 mode: it's actually still the same Z80 sjasmplus under, just not adding Z80 instructions into the string map at init (instructions like `rr` = "not recognized"), limiting registers (`ld...
  22. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    slowly going toward 1.14.2 release... so far the...

    slowly going toward 1.14.2 release... so far the changelog looks like this:

    - added i8080 mode (--i8080 CLI option) (it's still Z80 Zilog syntax, just limited instruction set)
    - small...
  23. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    What do you mean precisely? The reasonably simple...

    What do you mean precisely? The reasonably simple cases work for me, like:



    ; conditions_in_macro.asm
    testCond MACRO arg1?, arg2?, arg3?
    IF arg1?
    DB ...
  24. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    https://github.com/z00m128/sjasmplus/releases/tag/...

    https://github.com/z00m128/sjasmplus/releases/tag/v1.14.1

    ... just small bugfixes/polish, documentation refresh, etc... nothing important, if v1.14.0 is working for you, the v1.14.1 should do the...
  25. Тема: sjasmplus от z00m

    от Ped7g
    Ответов
    196
    Просмотров
    16,844

    I finally found a time to review Reobne's script,...

    I finally found a time to review Reobne's script, and it's excellent.

    I did adjust it slightly (to detect markers at beginning of line) and few other minor changes, and added it as official lua...
Показано с 1 по 25 из 67
Страница 1 из 3 1 2 3