This is a list of pages that have been tagged with “mame”.
| Page | Description | Tags |
|---|---|---|
| MAME Debugger Help | This page lists all available commands and the syntax of the MAME debugger, as available inside it with the “help” command. [Debugger main window] Help topics: * general -- General debugger help * memory -- Memory commands * execution -- Execution commands * breakpoints -- Breakpoint commands * watchpoints -- Watchpoint commands * expressions -- Expressions * comments -- Code annotation commands | mame, debug |
| SDLMAME/SDLMESS on a framebuffer device | Since I tend to forget things once they are solved I decided to write a short primer on how to run sdlmame on a hardware accelerated framebuffer device supporting YUV-overlays. This is really not a trivial task and this document only covers the last steps in detail. | sdl, mame, mess, framebuffer |
| cpunum_set_input_line() | Set the logical state of the an input line on a CPU. Syntax Declaration Declared in src/emu/cpuint.h as void cpunum_set_input_line(running_machine *machine, int cpunum, int line, int state); Parameters * machine -- Pointer to the machine where this CPU is running * cpunum -- Index to the CPU * line -- The IRQ to set, those are generally defined in the appropriate CPU header files * state -- The logical state to set. Possible values are ASSERT_LINE, HOLD_LINE, CLEAR_LINE and PULSE_… | reference, mame, cpu, irq |
| cpunum_set_input_line_and_vector() | Set the logical state of an input line on a CPU and its associated vector. This function is a combined version of cpunum_set_input_line() and cpunum_set_input_line_vector(). Syntax Declaration Declared in src/emu/cpuint.h as void cpunum_set_input_line_and_vector(running_machine *machine, int cpunum, int line, int state, int vector); | reference, mame, cpu, irq |
| cpunum_set_input_line_vector() | Set the vector to be returned during a CPU's interrupt acknowledge cycle. Syntax Declaration Declared in src/emu/cpuint.h as void cpunum_set_input_line_vector(int cpunum, int irqline, int vector); Parameters * cpunum -- Index to the CPU * irqline -- The IRQ to set, those are generally defined in the appropriate CPU header files * vector -- The vector you want to set | reference, mame, cpu, irq |
| cpunum_set_irq_callback() | Install a driver callback for IRQ acknowledge. This callback is used to get a vector for an IRQ line. Syntax Declaration Declared in src/emu/cpuint.h as void cpunum_set_irq_callback(int cpunum, int (*callback)(int irqline)); Parameters * cpunum -- Index to the CPU * *callback -- Pointer to a function that will be called when this IRQ is fired. | reference, mame, cpu, irq |
| logerror() | The logerror() function is used to output text to the standard error.log file (if the log option is enabled) and is also visible in a debugger error output window. Syntax Declaration Declared in src/emu/mame.h as void CLIB_DECL logerror(const char *format, ...) ATTR_PRINTF(1,2); | reference, mame, debug, log |
| mame_rand() | The mame_rand() function returns a standardized random number. Syntax Declaration Declared in src/emu/mame.h as UINT32 mame_rand(running_machine *machine); Parameters * *machine -- Pointer to the currently running machine. Returns A random number. | reference, mame, other |
| popmessage() | The popmessage() function is used to display on-screen info at the bottom of the emulated display. Syntax Declaration Declared in src/emu/mame.h as void CLIB_DECL popmessage(const char *format, ...) ATTR_PRINTF(1,2); Parameters * *format -- Pointer to a const char with the text to be printed. Supports printf-style parameters. Can be NULL, in this case the displayed message is cleared immediately. * ... -- A list of variables that are referenced in the text. | reference, mame, debug, log |