User Tag List

Показано с 1 по 10 из 699

Тема: SjASMPlus от z00m

Комбинированный просмотр

Предыдущее сообщение Предыдущее сообщение   Следующее сообщение Следующее сообщение
  1. #1

    Регистрация
    10.05.2019
    Адрес
    Prague, Czech Republic
    Сообщений
    229
    Спасибо Благодарностей отдано 
    51
    Спасибо Благодарностей получено 
    103
    Поблагодарили
    77 сообщений
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от krt17 Посмотреть сообщение
    ...но теперь придется прибавлять <char>...
    ...Но нафига все эти извраты?
    1) not sure what is your issue, some example? (is it about doing few more keystrokes while writing source? That can be it, as that is usually very low priority for me, as that is usually very small part of SW development - compared to reading and debugging)

    2) why changes? Because v1.10.4 is too bugged and it's lacking some functions I need for my own projects.

    If you by some luck managed to have working source in older version - my respect! - you can still use the older binary to assemble that particular old source, if you don't want to update it.

    For new projects you can decide yourself, but I had huge issues with v1.10.4 when I tried to use it somewhat more, beyond trivial instruction assembling. More than half of the examples from documentation didn't work as it was described, and some features of sjasmplus were not described in documentation at all, so I was not even sure if those were bugs or secret features.

    But in the end it is very simple. I need assembler for my own projects, and my idea of good assembler is something reliable and predictable - so I don't have to babysit the assembler itself checking the resulting machine code, and I can focus on my programming and debugging my bugs. V1.10.4 was very far from this goal, unfortunately. Originally I did want just to add Next instructions and few more small changes, but then I did read through the source of it, and there was some kind of bug and inaccuracy almost everywhere. So instead of few changes I spend months (!) just fixing it.

    I still put backward compatibility as very high priority item, and I believe, considering I made 300+ commits already, I broke minimal amount of old things. But at some points I had some reasons to believe the change is better option.

    In case of MAP removal it was mostly it's poor implementation and lack of documentation (and I still believe STRUCT is as good), so instead of spending another week fixing MAP, I removed it (I was keeping it "as is" as long as it was possible, but due to it's implementation it was getting into my way too much lately, clashing with planned changes, and fixing it was too much of work).

    Sorry. Still thank you for this feedback, I'm actually surprised anyone was using MAP in their projects, when I was asking in the cz/sk community, nobody had it (but each of us is very different, some prefer EQU and manual adjusting of everything, some write code generators in JavaScript and I did want functional STRUCT producing correct machine code...). So it's good to know this change was more problematic then I expected.

  2. #1
    С любовью к вам, Yandex.Direct
    Размещение рекламы на форуме способствует его дальнейшему развитию

  3. #2

    Регистрация
    02.05.2015
    Адрес
    г. Таллин, Эстония
    Сообщений
    1,691
    Спасибо Благодарностей отдано 
    302
    Спасибо Благодарностей получено 
    223
    Поблагодарили
    159 сообщений
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от Ped7g Посмотреть сообщение
    1) not sure what is your issue, some example?
    Downloaded sjasmplus v1.13.0 from git, unpacked.
    Trying to start it from cmd - just hangs, doesnät matter if I start it with asm source as parameter, or without parameters.
    Win 7 home.

  4. #3

    Регистрация
    10.05.2019
    Адрес
    Prague, Czech Republic
    Сообщений
    229
    Спасибо Благодарностей отдано 
    51
    Спасибо Благодарностей получено 
    103
    Поблагодарили
    77 сообщений
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от Bedazzle Посмотреть сообщение
    Downloaded sjasmplus v1.13.0 from git, unpacked.
    Trying to start it from cmd - just hangs, doesnät matter if I start it with asm source as parameter, or without parameters.
    Win 7 home.
    Ouch. Can you please try also some older versions like v1.12.0 and older? Where the issue did start?
    (just running the exe from command line should print out the help page)

    Or is here somebody else who has Win 7 and can try it? (It is tested by z00m in "Win 7 pro 32b", that should work)

    Can you maybe try also decompress the executable (it's compressed with upx: https://upx.github.io/ ), if it still hangs?

    BTW, do you have some antivirus? Doesn't it interfere with it, check maybe some logs or "quarantine" or how these things works (I haven't seen windows for like 12 or 13 years, so I'm not sure how to debug these problems in best way)?

  5. #4

    Регистрация
    02.05.2015
    Адрес
    г. Таллин, Эстония
    Сообщений
    1,691
    Спасибо Благодарностей отдано 
    302
    Спасибо Благодарностей получено 
    223
    Поблагодарили
    159 сообщений
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от Ped7g Посмотреть сообщение
    Can you maybe try also decompress the executable
    Decompressed, and it starts ok.

    Цитата Сообщение от Ped7g Посмотреть сообщение
    BTW, do you have some antivirus? Doesn't it interfere with it
    Yes, Avast.
    Tried again original compressed exe, and it showed sandbox. Yesterday it didn't jumped.
    So seems it is ok for now.

    But.
    Tried to compile source, and



    And same source with another branch



    I think it was already reported for another branch, and problem was with includes inside include file:

    core.a80 file:
    ....
    INCLUDE "known/_7EC7-7F5F___print_situation.a80"
    ...


    _7EC7-7F5F___print_situation.a80 file:
    ...
    INCLUDE "txt/_7ED5-7EDC___situation.a80"
    ...
    Последний раз редактировалось Bedazzle; 17.05.2019 в 23:56.

  6. #5

    Регистрация
    31.01.2007
    Адрес
    Москва
    Сообщений
    810
    Спасибо Благодарностей отдано 
    11
    Спасибо Благодарностей получено 
    77
    Поблагодарили
    59 сообщений
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от Bedazzle Посмотреть сообщение
    But.
    По русски написали, если используешь ' кавычки будь готов что экраны не нужны. Это нормально и правильно, и меня кстати пару раз бесило что раньше было не так.
    Про MAP согласен что используется редко. Понадобилось всего 2 раза, просто второй раз совсем недавно, поэтому и заворчал.
    Удобно использовать для задания общего массива переменных с адресацией через индексный регистр.

  7. #6

    Регистрация
    02.05.2015
    Адрес
    г. Таллин, Эстония
    Сообщений
    1,691
    Спасибо Благодарностей отдано 
    302
    Спасибо Благодарностей получено 
    223
    Поблагодарили
    159 сообщений
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от krt17 Посмотреть сообщение
    По русски написали, если используешь ' кавычки будь готов что экраны не нужны.
    Какие экраны? Нет бэкслэшей в путях, которые в двойных кавычках.

  8. #7

    Регистрация
    31.01.2007
    Адрес
    Москва
    Сообщений
    810
    Спасибо Благодарностей отдано 
    11
    Спасибо Благодарностей получено 
    77
    Поблагодарили
    59 сообщений
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Цитата Сообщение от Bedazzle Посмотреть сообщение
    Какие экраны? Нет бэкслэшей в путях, которые в двойных кавычках.
    Тфу ты, перепутал.
    В исходнике '\\' или "\\"?

  9. #8

    Регистрация
    10.05.2019
    Адрес
    Prague, Czech Republic
    Сообщений
    229
    Спасибо Благодарностей отдано 
    51
    Спасибо Благодарностей получено 
    103
    Поблагодарили
    77 сообщений
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    I have no idea from that post, what is wrong, I see the FREE RAM output is different, but I don't know this project (are the sources available somewhere or can you create some small example just demonstrating the problem?).

    Generally include inside include should be NOT a problem, but maybe there's some bug I am not aware of. If you will manage to help it identify, it would be very nice, thank you.

    (the changes in code [I am aware of] were about include search paths, the "" paths start search in current source directory first, while <> paths go through provided include paths first and ends in current source dir, just as the docs specs says.

    But in your case, unless you have two different files "txt/_7ED5-7EDC___situation.a80" in different folders, this shouldn't affect your code in any way, because either the correct file is found and included+assembled, or error about opening file would show ... anything else about include-in-include shouldn't be of any special significance, and the assembling state should be pretty much identical as if one big source file was provided, so there's some bug somewhere

    There were some changes about auto-wrap of addresses, which affect behaviour around 0x10000 address, maybe that's affecting it?)

    (Also I see difference in "compiled lines", but that calculation was slightly modified recently, so this is not conclusive, still same amount of lines may have been assembled by both assemblers, it's just the 1.13.0 does count it differently in some cases, probably around multiple instructions on same line, etc.. so this one doesn't bother me, but the 0x10000 vs 0x0000 is worth attention of course)

    (the warning about 0x5C5C is very likely the '\\' thing and as there *was* warning, the final code is identical, would be different in case of no warning.. like ld hl,'\\' is now ld hl,0x5C5C but the warning says that the value was truncated, so only 5C was used of it .... hmm... maybe I should add extra warning about backslash used inside apostrophes for a version or two, so users can check all their source and adjust to quotes or remove escaping backslash?)
    Последний раз редактировалось Ped7g; 18.05.2019 в 06:52.

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Похожие темы

  1. SjASMPlus Z80 кросс ассемблер
    от Aprisobal в разделе Программирование
    Ответов: 1663
    Последнее: 19.06.2021, 01:36
  2. Исходники TR-DOS для SjASMPlus
    от Keeper в разделе Программирование
    Ответов: 20
    Последнее: 11.02.2011, 11:57
  3. Запуск STS из .sna, сгенерированного sjasmplus.
    от siril в разделе Программирование
    Ответов: 7
    Последнее: 11.10.2010, 21:33
  4. Breakpoints в связке Sjasmplus+UnrealSpeccy
    от Kurles в разделе Программирование
    Ответов: 19
    Последнее: 26.01.2009, 12:36
  5. Disturbed COverMAnia ( music disk with z00m music collection)
    от kyv в разделе Музыка
    Ответов: 10
    Последнее: 27.03.2008, 10:01

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •