User Tag List

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

Тема: SjASMPlus от z00m

Древовидный режим

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

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

    По умолчанию

    Цитата Сообщение от Shadow Maker Посмотреть сообщение
    Basically it is same as ZEsarUX PC=1234h.
    ...
    I think latest Unreal source codes are here http://dlcorp.nedopc.com/viewtopic.php?f=27&t=1525 but there are tons of forks nowadays, so hard to tell.
    So I downloaded the `us0.39.0.src.7z`, and checked quickly the source (not full of course, I'm not *that* fast), and I don't see any code capable to load file like this:
    Код:
    1234
    BCDE
    So I believe that old patch format is not usable with latest unreal (but also from unreal changelog I can't easily guess which old versions of unreal did support such simple format).

    If you have some emulator which works with such simple breakpoint file, please try it to be 100% sure, and then post the emulator name + version - otherwise I think this format is useless and I'm not going to add it.

    The 0.39 emulator seems to expect file like this (reading the source in text editor, so not sure if it is using regular clib "sscanf" or some custom-patched which will then read different things):
    Код:
    r0=0x1234-0xBCDE
    x1=07654
    w0=12345
    Notice the values have prefixes (and "07654" is octal value 4012 and "12345" is DECIMAL!).

    First character must be one of "r, w, x" (I guess it's read-mem, write-mem, exec-instruction type?).
    Second character is single digit to select index of CPU. The two address values form a range (if only start of range is specified, then end of range is equal to start).
    (EDIT: this range is not sanitized everywhere, so it can cause segfault if you specify large number in the file
    - but also it may mean it can set breakpoint to large memory, if the variable "cpu.membits" is more than 64kiB, but I'm not going to hunt this down, would need to open the project in regular IDE first)

    I.e. this again does not match your info. I don't need "like/similar" info, I need *precise* info (I don't know how to run unreal emulator, and I'm not going to spend another day trying to compile it and to learn how to use it and looking for some test files or rom files, etc... => so I can't try these things by myself easile => not easy, not happening soon)

    From the source of 0.39 and help files there seems to be some debugger console or something, where it is maybe possible to export/save current breakpoints (there is SaveBpx() function).

    Can you try open some app in the emulator, add few breakpoints at two-three addresses (like 0x1234 / 0xBCDE), and export them, and then post the resulting "bpx.ini" here?

    Or try to build the "bpx.ini" file the way how I'm describing it above (trying out also different prefixes for octal/hexa/decimal), and try to load that into emulator, if it loads correctly.

    Or if some other format works for you, then just confirm it works with that unreal 0.39 and post example file which was working (if you can even find source code parsing the file, that will be excellent, because I did find so far only these "bpx.ini" parsers).
    Последний раз редактировалось Ped7g; 03.02.2020 в 14:59. Причина: note about missing address range checking in parser

    Этот пользователь поблагодарил Ped7g за это полезное сообщение:

    SoftLight(03.02.2020)

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

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

Эту тему просматривают: 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

Ваши права

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