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

Поиск:

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

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

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

  1. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    nextreg *r, *n: It does test four NextRegister...

    nextreg *r, *n:

    It does test four NextRegister by writing/reading the value: LAYER2_XOFFSET_NR_16, VIDEO_INTERUPT_VALUE_NR_23, PALETTE_INDEX_NR_40, SPRITE_TRANSPARENCY_I_NR_4B
    (it's enough just...
  2. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    If you click the letter of the particular test,...

    If you click the letter of the particular test, it will show some debug values (usually the values which failed the test in the code).

    With that info, check the test source code to figure out what...
  3. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

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

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

    v1.15.0 changelog:
    * added `BPLIST` and `SETBP` to export breakpoints info from asm for Unreal and ZEsarUX emulators
    * added ZX-like...
  4. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    Yes, since core 3.1.5 (Next OS "distro" 1.3.2)...

    Yes, since core 3.1.5 (Next OS "distro" 1.3.2) the port $0B is only ZilogDMA mode, port $6B is only zxnDMA mode. The previously used config bit in NextReg 06 is now used for beeper configuration, not...
  5. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    I don't feel confident enough with TRD file...

    I don't feel confident enough with TRD file format (which is mostly NOT covered by tests in current sjasmplus) for such big changes, so I'm not planning to touch this for v1.15.0, but maybe later in...
  6. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    I don't know. I think I was trying it while...

    I don't know. I think I was trying it while testing my ZEsarUX emulator fork, and the dma1demo did work correctly only in zilog mode. In zxnDMA it did look initially almost correct, but it got...
  7. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    Because the transfer init sequence is...

    Because the transfer init sequence is intentionally incorrect.
    It should transfer bytes from "memory++" to fixed I/O port 254.

    But for Zilog DMA chip you can load "fixed" type of address/port...
  8. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    Looks like you are running it in some emulator or...

    Looks like you are running it in some emulator or weird machine.

    1) If it's Next-like machine, that port $6B with core 3.1.1+ is zxnDMA, not Zilog => red squares in short transfers, because zxnDMA...
  9. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    I'm not lua expert, so I have no idea if you can...

    I'm not lua expert, so I have no idea if you can redirect print by default, but you can define lua function which will have shorter name and use that one instead of print. But you can still capture...
  10. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    ? Hm, works for me? LUA PASS3 ...

    ? Hm, works for me?



    LUA PASS3
    io.stderr:write(string.format("write to stderr %d\n", 123))
    ENDLUA

    (obviously you must write to STDERR, if you are capturing STDERR)
  11. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    Main.asm(11): error: Offset out of range (+128) ...

    Main.asm(11): error: Offset out of range (+128)
    11 6000 DD 77 80 ld (ix+128),a
    Main.asm(12): error: Offset out of range (+255)
    12 6003 DD 77 FF ld (ix+255),a





    If...
  12. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    Z80: "(ix+imm8)" and similar process the constant...

    Z80: "(ix+imm8)" and similar process the constant as `int8_t` (signed 8bit value), i.e. the valid range is (ix-128) to (ix+127).
    (ix+128) is invalid instruction.

    I guess the IDA does think the...
  13. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    Yes, indeed. It was one of the first thing I...

    Yes, indeed. It was one of the first thing I reported to the sjasmplus guys before I started contributing to the project:
    https://github.com/z00m128/sjasmplus/issues/37

    Then I "fixed" it,...
  14. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    The `aaa = "abcd"` line defines new symbol...

    The `aaa = "abcd"` line defines new symbol (label), i.e. 32 bit integer. The assembler will use the value when it does parse any expression using "aaa" symbol.

    the `DEFINE aaa "abcd"` works more...
  15. Тема: ЭТЮДЫ

    от Ped7g
    Ответов
    986
    Просмотров
    312,075

    I did answer to your private message here, but...

    I did answer to your private message here, but now I did notice the zx-pk.ru site writes something about your inbox being full, so I'm not sure if the answer was delivered, let me know... (I hope it...
  16. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    it's modified to follow common compilers, output...

    it's modified to follow common compilers, output is STDOUT (you can assemble with machine code going to STDOUT), and errors/info is going to STDERR.

    So to redirect the errors into log file use...
  17. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    v1.11.0 change, the docs claimed the apostrophe...

    v1.11.0 change, the docs claimed the apostrophe strings are not parsed for escape chars, so I fixed the assembler.. and added the double apostrophe as extra escape sequence:...
  18. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    the "ok" comment is already used by other...

    the "ok" comment is already used by other warnings (low memory access, fake instruction, and something else) and I'm thinking about making it general mechanism for *all* warnings in v2.x
    I will...
  19. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    So, I tried to implement smart detection of...

    So, I tried to implement smart detection of IF/IFN blocks which are unstable because of forward-reference, and I had to give up, it's too complicated in current sjasmplus architecture.

    So instead...
  20. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    If you are using the virtual DEVICE memory, you...

    If you are using the virtual DEVICE memory, you can position the resulting gfx data with ORG (and after that use other ORG for code), so it is *possible* to move their definition ahead and get same...
  21. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    Hm, this is quite good example when the test is...

    Hm, this is quite good example when the test is safe (not emitting any machine code bytes, so forward-reference is not a problem).

    possible workarounds:
    - define sprites earlier in the...
  22. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    I guess you simplified the example, but so much,...

    I guess you simplified the example, but so much, that it doesn't make sense to me.

    The code will in 1.13.2 emit error:
    "Issue_fwd_ref_in_macro.asm(13): warning: Label has different value in pass...
  23. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    There is some plugin for VSC...

    There is some plugin for VSC https://github.com/theNestruo/z80-asm-meter-vscode which can calculate ticks in selected block (I believe, I don't use VSC (yet), so I only heard about this).

    I'm also...
  24. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    the 0 vs 1 argument is known bug to me, but...

    the 0 vs 1 argument is known bug to me, but there's no simple fix... and *some* error is displayed ("wrong" one, but that's not critical for me).

    I'm glad you are posting suggestions and feedback....
  25. Тема: SjASMPlus от z00m

    от Ped7g
    Ответов
    286
    Просмотров
    23,948

    yep, definitely variable-arguments for macros are...

    yep, definitely variable-arguments for macros are on my TODO list, but it always felt to me this is "v2.x" feature, because it's both quite some work to implement it, and I'm worried about backward...
Показано с 1 по 25 из 103
Страница 1 из 5 1 2 3 4