summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/romentry.h
Commit message (Collapse)AuthorAgeFilesLines
* Move ROM loading macros to romentry.h and remove romload.h from emu.h (nw) AJR2018-06-241-0/+69
|
* Move the +1 to the proper place in the ROM BIOS macros - that's been Vas Crabb2018-05-291-2/+2
| | | | | | | | | confusing people for far too long. Yes, this is a change in behaviour. Add a valdiation check for ROMs with BIOS flag set that are unselectable, fix the things it uncovers. (nw) Fix other random stuff.
* Turn most of the ROM entry accessor macros into templates, and make them ↵ Vas Crabb2017-09-181-10/+14
| | | | work on tiny_rom_entry/rom_entry pointers/references, also claw back a little performance lost in the ROM entry refactoring
* general cleanup: Vas Crabb2017-05-231-2/+3
| | | | | | | | | | | * move rarely-used output and pty interfaces out of emu.h * consolidate and de-duplicate forward declarations, also remove some obsolete ones * clean up more #include guard macros * scope down a few more things (nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h - this will make it far easier to keep them in sync with declarations than having them scattered through all the other files.
* Fix for the nonstandard types when not using the broken precompiled headers. ↵ smf-2016-11-191-0/+1
| | | | (nw)
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-14/+14
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-11/+11
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Changed how ROM_COPY and ROM_FILL are represented in tiny_rom_entry to be ↵ Nathan Woods2016-08-111-12/+2
| | | | | | more how they were in the past Turbosub had a ROM_COPY declaration with an expression ('ROM_COPY( "main_code", 0x18000 + 0x2000,...) and this simply did not work with the new model. This required changing ROM_* declarations to more resemble how they used to be and to perform the conversion on load.
* Created a tiny_rom_entry structure for the purposes of rom_entry ↵ Nathan Woods2016-08-061-6/+18
| | | | | | | | declarations in code, and a first pass at the required core changes to unpack tiny_rom_entry structures at runtime. WARNING - I've done preliminary testing on a tiny build (pacman works), but nothing more. I know for a fact that a full compile fails
* Let's give the new srcclean a spin... Vas Crabb2016-08-021-7/+7
|
* Added some default constructors to rom_entry(), and made it so changes to ↵ Nathan Woods2016-08-011-1/+5
| | | | flags are done through a set_flags() accessor method
* Changes rom_entry from a struct to a class, storing its strings as ↵ Nathan Woods2016-08-011-0/+153
std::string and separated the declaration into a new header. This should really be followed up by further changes to eliminate the usage of the weird accessor macros in favor of conventional C++ accessors