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

User Tag List

Страница 3 из 8 ПерваяПервая 1234567 ... ПоследняяПоследняя
Показано с 21 по 30 из 78

Тема: Fuse

  1. #21
    Activist
    Регистрация
    20.02.2008
    Адрес
    Siauliai, Lithuania
    Сообщений
    367
    Спасибо Благодарностей отдано 
    42
    Спасибо Благодарностей получено 
    3
    Поблагодарили
    3 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    MONITOR/DEBUGGER

    Firstly, note that the vast majority of this section applies only if you're using the GTK+ user interface; if you're using one of the widget user interfaces, you'll get a very basic monitor which shows the current values of the registers and allows you to single step through execution or continue.

    If you are using the GTK+ user interface, Fuse features a moderately powerful, completely transparent monitor/debugger, which can be activated via the Machine, Debugger ... menu option. A debugger window will appear, showing the current state of the emulated machine: the top-left `pane' shows the current state of the Z80 and the last bytes written to any emulated peripherals. The bottom-left pane lists any active breakpoints. Moving right, the next pane shows where the Spectrum's 64K memory map (the `W?' and `C?' indicate whether each 8K chunk is writable or contended respectively), and the next a disassembly, which by default starts at the current program counter, although this can be modified either by the `disassemble' command (see below) or by dragging the scrollbar next to it. The next pane shows the current stack, and the final pane any `events' which are due to occur and could affect emulation. Any of these panes can be removed by use of the View menu. Below the displays are an entry box for debugger commands, and five buttons for controlling the debugger:

    Evaluate

    Evaluate the command currently in the entry box.

    Single Step

    Run precisely one Z80 opcode and then stop emulation again.

    Continue

    Restart emulation, but leave the debugger window open. Note that the debugger window will not be updated while emulation is running.

    Break

    Stop emulation and return to the debugger.

    Close

    Close the debugger window and restart emulation.

    Double-clicking on an entry in the stack pane will cause emulation to run until the program counter reaches the value stored at that address, while double-clicking on an entry in the `events' pane will cause emulation to run until that time is reached.

    The main power of the debugger is via the commands entered into the entry box, which are similar in nature (but definitely not identical to or as powerful as) to those in gdb(1). In general, the debugger is case-insensitive, and numbers will be interpreted as decimal, unless prefixed by either `0x' or `$' when they will be interpreted as hex. Each command can be abbreviated to the portion not in curly braces.

    ba{se} number

    Change the debugger window to displaying output in base number. Available values are 10 (decimal) or 16 (hex).

    br{eakpoint} [address] [condition]

    Set a breakpoint to stop emulation and return to the debugger whenever an opcode is executed at address and condition evaluates true. If address is omitted, it defaults to the current value of PC.

    br{eakpoint} p{ort} (r{ead}|w{rite}) port [condition]

    Set a breakpoint to trigger whenever IO port port is read from or written to and condition evaluates true.

    br{eakpoint} (r{ead}|w{rite}) [address] [condition]

    Set a breakpoint to trigger whenever memory location address is read from (other than via an opcode fetch) or written to and condition evaluates true. Address again defaults to the current value of PC if omitted.

    br{eakpoint} ti{me} time [condition]

    Set a breakpoint to occur time tstates after the start of the every frame, assuming condition evaluates true (if one is given).

    br{eakpoint} ev{ent} area:detail [condition]

    Set a breakpoint to occur when the event specified by area:detail occurs and condition evaluates to true. The events which can be caught are:

    divide:page
    divide:unpage

    The DivIDE interface is paged into or out of memory respectively


    if1:page
    if1:unpage

    The Interface 1 shadow ROM is paged into or out of memory


    rzx:end

    An RZX recording finishes playing


    tape:play
    tape:stop

    The emulated tape starts or stops playing


    zxcf:page
    zxcf:unpage

    The ZXCF interface is paged into or out of memory


    zxatasp:page
    zxatasp:unpage

    The ZXATASP interface is paged into or out of memory

    In all cases, the event can be specified as area:* to catch all events from that area.

    cl{ear} [address]

    Remove all breakpoints at address or the current value of PC if address is omitted. Port read/write breakpoints are unaffected.

    com{mmands} id <newline>
    <debugger command> <newline>
    <debugger command> <newline>
    ...
    end

    Set things such that the specified debugger commands will be automatically executed when breakpoint id is triggered. There is currently no user interface for entering multi-line debugger commands, so the only way to specify this command is on the command-line via the --debugger-command option.

    cond{ition} id [condition]

    Set breakpoint id to trigger only when condition is true, or unconditionally if condition is omitted.

    co{ntinue}

    Equivalent to the Continue button.

    del{ete} [id]

    Remove breakpoint id, or all breakpoints if id is omitted.

    di{sassemble} address

    Set the centre panel disassembly to begin at address.

    ex{it}

    Exit the emulator immediately.

    fi{nish}

    Exit from the current CALL or equivalent. This isn't infallible: it works by setting a temporary breakpoint at the current contents of the stack pointer, so will not function correctly if the code returns to some other point or plays with its stack in other ways. Also, setting this breakpoint doesn't disable other breakpoints, which may trigger before this one. In that case, the temporary breakpoint remains, and the `continue' command can be used to return to it.

    i{gnore} id count

    Do not trigger the next count times that breakpoint id would have triggered.

    n{ext}

    Step to the opcode following the current one. As with the `finish' command, this works by setting a temporary breakpoint at the next opcode, so is not infallible.

    o{ut} port value

    Write value to IO port port.

    pr{int} expression

    Print the value of expression to standard output.

    se{t} address value

    Poke value into memory at address.

    se{t} register value

    Set the value of the Z80 register register to value.

    se{t} $variable value

    Set the value of the debugger variable variable to value.

    s{tep}

    Equivalent to the Single Step button.

    t{breakpoint} [options]

    This is the same as the `breakpoint' command in its various forms, except that that breakpoint is temporary: it will trigger once and once only, and then be removed.

    Addresses can be specified in one of two forms: either an absolute addresses, specified by an integer in the range 0x0000 to 0xFFFF or as a `page:offset' combination, which refers to a location offset bytes into into memory bank page, independent of where that bank is currently paged into memory. RAM pages are indicated simply by an integer, while ROMs are prefixed by `R' (e.g. offset 0x1234 in ROM 1 is specified as `R1:0x1234'). Pages selected via the /ROMCS line are prefixed with `C', while the Timex Dock and Exrom use prefixes `D' and `X' respectively. The 48K machines are treated as having a permanent mapping of page 5 at 0x4000, page 2 at 0x8000 and page 0 at 0xC000; the 16K Spectrum is treated as having page 5 at 0x4000 and no page at 0x8000 and 0xC000.

    Anywhere the debugger is expecting a numeric value, except where it expects a breakpoint id, you can instead use a numeric expression, which uses a restricted version of C's syntax; exactly the same syntax is used for conditional breakpoints, with `0' being false and any other value being true. In numeric expressions, you can use integer constants (all calculations are done in integers), register names (which simply evaluate to the value of the register), debugger variables, parentheses, the standard four numeric operations (`+', `-', `*' and `/'), the (non-)equality operators `==' and `!=', the comparison operators `>', `<', `>=' and `<=', bitwise and (`&'), or (`|') and exclusive or (`^') and logical and (`&&') and or (`||').
    Последний раз редактировалось Protom; 02.11.2012 в 22:37.
    Альтернативная прошивка для тестера мелкой логики на Мега8515: http://www.8bit.lt/ru/ic-tester

  2. #22
    R.I.P. Аватар для Rindex
    Регистрация
    10.11.2007
    Адрес
    Khimki
    Сообщений
    18,222
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    15
    Поблагодарили
    14 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Fuse 1.1.0

    Emulation of the Spectranet, SpeccyBoot, SpecDrum and DISCiPLE interfaces
    Support for reading PZX and POK files
    Support for recording FMF movies
    GTK+ 3 compatability
    Win32 - http://www.t2e.pl/en/322/134/322/Emu...s#.UaDcgzTQSJs
    Всё остальное - http://fuse-emulator.sourceforge.net/
    Может, мы обидели кого-то зря,
    Сбросив пару лишних мегатонн,
    И горит зелёным пламенем земля,
    Там, где был когда-то Пентагон!..

    Profi-576 v3.2/AY-3-8912A GI/FDD-5.25'

  3. #23
    Member Аватар для Граф Куракин
    Регистрация
    01.12.2012
    Адрес
    г. Чехов, Московская обл.
    Сообщений
    40
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    0
    Поблагодарили
    0 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Блин, подскажите, плиз, какая версия самая стабильная???? Последние версии при попытки открытия разных программ вылетают с ошибкой... (( Была какая-то версия год назад, переставлял систему, накрылась, а сейчас вспомнить не могу...

    В смысле, под Mac OS X
    ЕГГОГ бессмертен (с) SoftLight

  4. #24
    R.I.P. Аватар для Rindex
    Регистрация
    10.11.2007
    Адрес
    Khimki
    Сообщений
    18,222
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    15
    Поблагодарили
    14 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Fuse 1.1.1

    Для Win32 - http://www.t2e.pl/pl/322/134/322/Wie...se-111-Windows
    Для всего остального - http://fuse-emulator.sourceforge.net/
    Последний раз редактировалось Rindex; 07.06.2013 в 16:47.
    Может, мы обидели кого-то зря,
    Сбросив пару лишних мегатонн,
    И горит зелёным пламенем земля,
    Там, где был когда-то Пентагон!..

    Profi-576 v3.2/AY-3-8912A GI/FDD-5.25'

  5. #25
    Member Аватар для Граф Куракин
    Регистрация
    01.12.2012
    Адрес
    г. Чехов, Московская обл.
    Сообщений
    40
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    0
    Поблагодарили
    0 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Fuse 1.1.1 глючная... как и все единички... может, конечно, только у меня, но почему то все остальные программы под мак у меня без сучка без задоринки работают...
    ЕГГОГ бессмертен (с) SoftLight

  6. #26
    Activist Аватар для phant0m
    Регистрация
    12.09.2008
    Адрес
    Россия, Орловская область, п. Глазуновка
    Сообщений
    363
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    0
    Поблагодарили
    0 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    У меня на Xubuntu 12.04 из репы 1.0.0.1a - работает. Только надо качнуть ромы fuse-emulator-roms и распаковать их в /usr/share/spectrum-roms.
    zx-info.ru [zx-spectrum игры: описания, прохождения, скриншоты]

  7. #27
    Master
    Регистрация
    25.05.2007
    Адрес
    Киржач, Владимирская обл.
    Сообщений
    616
    Спасибо Благодарностей отдано 
    22
    Спасибо Благодарностей получено 
    16
    Поблагодарили
    8 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    У кого нибудь есть ромы для Fuse Mac OS. А то никак не разберусь какие ромы там использовать. Например для Пентагона просит 3 рома сразу.

  8. #28
    Activist Аватар для phant0m
    Регистрация
    12.09.2008
    Адрес
    Россия, Орловская область, п. Глазуновка
    Сообщений
    363
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    0
    Поблагодарили
    0 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    shuran33, Приаттачил все ромы из /usr/share/spectrum-roms.
    Где оно в маке - не знаю.
    Вложения Вложения
    zx-info.ru [zx-spectrum игры: описания, прохождения, скриншоты]

  9. #29
    Master
    Регистрация
    25.05.2007
    Адрес
    Киржач, Владимирская обл.
    Сообщений
    616
    Спасибо Благодарностей отдано 
    22
    Спасибо Благодарностей получено 
    16
    Поблагодарили
    8 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    phant0m, спасибо за ромы, получилось подсоединить их, но потом почему то вылетает из программы.
    Может быть кто-нибудь знает где в маке найти настройки fuse, настройки в файле желательно. В обычных настройках получается так - выбираю нужные ромы, потом программа неожиданно завершается и после повторного запуска настройки опять старые.

  10. #30
    Activist Аватар для phant0m
    Регистрация
    12.09.2008
    Адрес
    Россия, Орловская область, п. Глазуновка
    Сообщений
    363
    Спасибо Благодарностей отдано 
    0
    Спасибо Благодарностей получено 
    0
    Поблагодарили
    0 сообщений
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    По умолчанию

    Получилось что-нибудь? Я только после праздников на работе могу попробовать, так как только там есть доступ к Маку. Я не особо много на нём работал, но родным файл-мэнеджером я не знаю как добраться вообще до чего либо. Лучще уж Midnight Commander поставить.
    zx-info.ru [zx-spectrum игры: описания, прохождения, скриншоты]

Страница 3 из 8 ПерваяПервая 1234567 ... ПоследняяПоследняя

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

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

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

Похожие темы

  1. Дождался! Fuse (Spectrum Emulator) Preview Edition for Wii.
    от CityAceE в разделе Эмуляторы
    Ответов: 3
    Последнее: 24.06.2008, 12:57
  2. FUSE & Pentagon1024
    от Vinnny в разделе Эмуляторы
    Ответов: 59
    Последнее: 16.11.2007, 13:47
  3. Эмулятор FUSE портировали под Windows
    от Alexandr Medvedev в разделе Эмуляторы
    Ответов: 1
    Последнее: 22.07.2007, 12:29

Ваши права

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