summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-03-26 01:32:50 +1100
committer Vas Crabb <vas@vastheman.com>2023-03-26 01:32:50 +1100
commit4cf33cfe0a427d24d754c134eb94b9d1a67da637 (patch)
tree71d0864fd5efa77a50ed2061d3a2c6da05c41b33 /scripts
parentfb81cb16bb19603f7fa0fff3698bdfa32b2896fc (diff)
Various optimisations to code generaton.
util/bitmap.cpp, util/palette.cpp: Marked lots of things constexpr. Bitmaps don't throw exceptions on allocation failure, they just become invalid. Almost nothing in MAME actually checks for this. emu/profiler.cpp: Abort if the profile stack overflows rather than throwing an exception. This is a developer feature and if it overflows, the code is broken. Calling a noreturn noexcept function generates less code than throwing an exception, which adds up. util/strformat.cpp: Traded away some unnecessary flexibility for more compact code. The stream objects must derive from std::basic_ostream now - they can't just be any old objects with the expected operators.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/bus.lua226
1 files changed, 113 insertions, 113 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index d5658030f0b..a06a1a43aea 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -1625,104 +1625,105 @@ if (BUSES["ISA"]~=null) then
MAME_DIR .. "src/devices/bus/isa/isa.h",
MAME_DIR .. "src/devices/bus/isa/isa_cards.cpp",
MAME_DIR .. "src/devices/bus/isa/isa_cards.h",
- MAME_DIR .. "src/devices/bus/isa/mda.cpp",
- MAME_DIR .. "src/devices/bus/isa/mda.h",
- MAME_DIR .. "src/devices/bus/isa/wdxt_gen.cpp",
- MAME_DIR .. "src/devices/bus/isa/wdxt_gen.h",
+ MAME_DIR .. "src/devices/bus/isa/3c503.cpp",
+ MAME_DIR .. "src/devices/bus/isa/3c503.h",
+ MAME_DIR .. "src/devices/bus/isa/3c505.cpp",
+ MAME_DIR .. "src/devices/bus/isa/3c505.h",
+ MAME_DIR .. "src/devices/bus/isa/3xtwin.cpp",
+ MAME_DIR .. "src/devices/bus/isa/3xtwin.h",
+ MAME_DIR .. "src/devices/bus/isa/acb2072.cpp",
+ MAME_DIR .. "src/devices/bus/isa/acb2072.h",
MAME_DIR .. "src/devices/bus/isa/adlib.cpp",
MAME_DIR .. "src/devices/bus/isa/adlib.h",
+ MAME_DIR .. "src/devices/bus/isa/aga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aga.h",
+ MAME_DIR .. "src/devices/bus/isa/aha1542b.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aha1542b.h",
+ MAME_DIR .. "src/devices/bus/isa/aha1542c.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aha1542c.h",
+ MAME_DIR .. "src/devices/bus/isa/aha174x.cpp",
+ MAME_DIR .. "src/devices/bus/isa/aha174x.h",
+ MAME_DIR .. "src/devices/bus/isa/asc88.cpp",
+ MAME_DIR .. "src/devices/bus/isa/asc88.h",
+ MAME_DIR .. "src/devices/bus/isa/bblue2.cpp",
+ MAME_DIR .. "src/devices/bus/isa/bblue2.h",
+ MAME_DIR .. "src/devices/bus/isa/bt54x.cpp",
+ MAME_DIR .. "src/devices/bus/isa/bt54x.h",
+ MAME_DIR .. "src/devices/bus/isa/cga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/cga.h",
MAME_DIR .. "src/devices/bus/isa/chessmdr.cpp",
MAME_DIR .. "src/devices/bus/isa/chessmdr.h",
MAME_DIR .. "src/devices/bus/isa/chessmsr.cpp",
MAME_DIR .. "src/devices/bus/isa/chessmsr.h",
+ MAME_DIR .. "src/devices/bus/isa/cl_sh260.cpp",
+ MAME_DIR .. "src/devices/bus/isa/cl_sh260.h",
MAME_DIR .. "src/devices/bus/isa/com.cpp",
MAME_DIR .. "src/devices/bus/isa/com.h",
+ MAME_DIR .. "src/devices/bus/isa/dcb.cpp",
+ MAME_DIR .. "src/devices/bus/isa/dcb.h",
+ MAME_DIR .. "src/devices/bus/isa/dectalk.cpp",
+ MAME_DIR .. "src/devices/bus/isa/dectalk.h",
+ MAME_DIR .. "src/devices/bus/isa/ega.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ega.h",
+ MAME_DIR .. "src/devices/bus/isa/eis_hgb107x.cpp",
+ MAME_DIR .. "src/devices/bus/isa/eis_hgb107x.h",
+ MAME_DIR .. "src/devices/bus/isa/eis_sad8852.cpp",
+ MAME_DIR .. "src/devices/bus/isa/eis_sad8852.h",
+ MAME_DIR .. "src/devices/bus/isa/eis_twib.cpp",
+ MAME_DIR .. "src/devices/bus/isa/eis_twib.h",
+ MAME_DIR .. "src/devices/bus/isa/ex1280.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ex1280.h",
MAME_DIR .. "src/devices/bus/isa/fdc.cpp",
MAME_DIR .. "src/devices/bus/isa/fdc.h",
- MAME_DIR .. "src/devices/bus/isa/mufdc.cpp",
- MAME_DIR .. "src/devices/bus/isa/mufdc.h",
MAME_DIR .. "src/devices/bus/isa/finalchs.cpp",
MAME_DIR .. "src/devices/bus/isa/finalchs.h",
MAME_DIR .. "src/devices/bus/isa/gblaster.cpp",
MAME_DIR .. "src/devices/bus/isa/gblaster.h",
MAME_DIR .. "src/devices/bus/isa/gus.cpp",
MAME_DIR .. "src/devices/bus/isa/gus.h",
- MAME_DIR .. "src/devices/bus/isa/sb16.cpp",
- MAME_DIR .. "src/devices/bus/isa/sb16.h",
MAME_DIR .. "src/devices/bus/isa/hdc.cpp",
MAME_DIR .. "src/devices/bus/isa/hdc.h",
+ MAME_DIR .. "src/devices/bus/isa/hpblp.cpp",
MAME_DIR .. "src/devices/bus/isa/ibm_mfc.cpp",
MAME_DIR .. "src/devices/bus/isa/ibm_mfc.h",
- MAME_DIR .. "src/devices/bus/isa/cl_sh260.cpp",
- MAME_DIR .. "src/devices/bus/isa/cl_sh260.h",
- MAME_DIR .. "src/devices/bus/isa/mpu401.cpp",
- MAME_DIR .. "src/devices/bus/isa/mpu401.h",
- MAME_DIR .. "src/devices/bus/isa/pcmidi.cpp",
- MAME_DIR .. "src/devices/bus/isa/pcmidi.h",
- MAME_DIR .. "src/devices/bus/isa/sblaster.cpp",
- MAME_DIR .. "src/devices/bus/isa/sblaster.h",
- MAME_DIR .. "src/devices/bus/isa/stereo_fx.cpp",
- MAME_DIR .. "src/devices/bus/isa/stereo_fx.h",
- MAME_DIR .. "src/devices/bus/isa/ssi2001.cpp",
- MAME_DIR .. "src/devices/bus/isa/ssi2001.h",
MAME_DIR .. "src/devices/bus/isa/ide.cpp",
MAME_DIR .. "src/devices/bus/isa/ide.h",
- MAME_DIR .. "src/devices/bus/isa/xtide.cpp",
- MAME_DIR .. "src/devices/bus/isa/xtide.h",
- MAME_DIR .. "src/devices/bus/isa/side116.cpp",
- MAME_DIR .. "src/devices/bus/isa/side116.h",
- MAME_DIR .. "src/devices/bus/isa/acb2072.cpp",
- MAME_DIR .. "src/devices/bus/isa/acb2072.h",
- MAME_DIR .. "src/devices/bus/isa/aha1542b.cpp",
- MAME_DIR .. "src/devices/bus/isa/aha1542b.h",
- MAME_DIR .. "src/devices/bus/isa/aha1542c.cpp",
- MAME_DIR .. "src/devices/bus/isa/aha1542c.h",
- MAME_DIR .. "src/devices/bus/isa/aha174x.cpp",
- MAME_DIR .. "src/devices/bus/isa/aha174x.h",
- MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.cpp",
- MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.h",
- MAME_DIR .. "src/devices/bus/isa/wd1007a.cpp",
- MAME_DIR .. "src/devices/bus/isa/wd1007a.h",
- MAME_DIR .. "src/devices/bus/isa/dectalk.cpp",
- MAME_DIR .. "src/devices/bus/isa/dectalk.h",
- MAME_DIR .. "src/devices/bus/isa/pds.cpp",
- MAME_DIR .. "src/devices/bus/isa/pds.h",
- MAME_DIR .. "src/devices/bus/isa/omti8621.cpp",
- MAME_DIR .. "src/devices/bus/isa/omti8621.h",
- MAME_DIR .. "src/devices/bus/isa/cga.cpp",
- MAME_DIR .. "src/devices/bus/isa/cga.h",
- MAME_DIR .. "src/devices/bus/isa/svga_cirrus.cpp",
- MAME_DIR .. "src/devices/bus/isa/svga_cirrus.h",
- MAME_DIR .. "src/devices/bus/isa/ega.cpp",
- MAME_DIR .. "src/devices/bus/isa/ega.h",
- MAME_DIR .. "src/devices/bus/isa/ex1280.cpp",
- MAME_DIR .. "src/devices/bus/isa/ex1280.h",
- MAME_DIR .. "src/devices/bus/isa/pgc.cpp",
- MAME_DIR .. "src/devices/bus/isa/pgc.h",
- MAME_DIR .. "src/devices/bus/isa/vga.cpp",
- MAME_DIR .. "src/devices/bus/isa/vga.h",
- MAME_DIR .. "src/devices/bus/isa/vga_ati.cpp",
- MAME_DIR .. "src/devices/bus/isa/vga_ati.h",
+ MAME_DIR .. "src/devices/bus/isa/lbaenhancer.cpp",
+ MAME_DIR .. "src/devices/bus/isa/lbaenhancer.h",
+ MAME_DIR .. "src/devices/bus/isa/lpt.cpp",
+ MAME_DIR .. "src/devices/bus/isa/lpt.h",
+ MAME_DIR .. "src/devices/bus/isa/lrk330.cpp",
+ MAME_DIR .. "src/devices/bus/isa/lrk330.h",
MAME_DIR .. "src/devices/bus/isa/mach32.cpp",
MAME_DIR .. "src/devices/bus/isa/mach32.h",
- MAME_DIR .. "src/devices/bus/isa/svga_tseng.cpp",
- MAME_DIR .. "src/devices/bus/isa/svga_tseng.h",
- MAME_DIR .. "src/devices/bus/isa/svga_s3.cpp",
- MAME_DIR .. "src/devices/bus/isa/svga_s3.h",
- MAME_DIR .. "src/devices/bus/isa/s3virge.cpp",
- MAME_DIR .. "src/devices/bus/isa/s3virge.h",
- MAME_DIR .. "src/devices/bus/isa/pc1640_iga.cpp",
- MAME_DIR .. "src/devices/bus/isa/pc1640_iga.h",
- MAME_DIR .. "src/devices/bus/isa/3c503.cpp",
- MAME_DIR .. "src/devices/bus/isa/3c503.h",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.h",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_rom.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mc1502_rom.h",
+ MAME_DIR .. "src/devices/bus/isa/mcd.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mcd.h",
+ MAME_DIR .. "src/devices/bus/isa/mda.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mda.h",
+ MAME_DIR .. "src/devices/bus/isa/mpu401.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mpu401.h",
+ MAME_DIR .. "src/devices/bus/isa/mufdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/mufdc.h",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_com.cpp",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_com.h",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.h",
MAME_DIR .. "src/devices/bus/isa/ne1000.cpp",
MAME_DIR .. "src/devices/bus/isa/ne1000.h",
MAME_DIR .. "src/devices/bus/isa/ne2000.cpp",
MAME_DIR .. "src/devices/bus/isa/ne2000.h",
- MAME_DIR .. "src/devices/bus/isa/3c505.cpp",
- MAME_DIR .. "src/devices/bus/isa/3c505.h",
- MAME_DIR .. "src/devices/bus/isa/lpt.cpp",
- MAME_DIR .. "src/devices/bus/isa/lpt.h",
+ MAME_DIR .. "src/devices/bus/isa/np600.cpp",
+ MAME_DIR .. "src/devices/bus/isa/np600.h",
+ MAME_DIR .. "src/devices/bus/isa/num9rev.cpp",
+ MAME_DIR .. "src/devices/bus/isa/num9rev.h",
+ MAME_DIR .. "src/devices/bus/isa/omti8621.cpp",
+ MAME_DIR .. "src/devices/bus/isa/omti8621.h",
+ MAME_DIR .. "src/devices/bus/isa/opus100pm.cpp",
+ MAME_DIR .. "src/devices/bus/isa/opus100pm.h",
MAME_DIR .. "src/devices/bus/isa/p1_fdc.cpp",
MAME_DIR .. "src/devices/bus/isa/p1_fdc.h",
MAME_DIR .. "src/devices/bus/isa/p1_hdc.cpp",
@@ -1731,59 +1732,58 @@ if (BUSES["ISA"]~=null) then
MAME_DIR .. "src/devices/bus/isa/p1_rom.h",
MAME_DIR .. "src/devices/bus/isa/p1_sound.cpp",
MAME_DIR .. "src/devices/bus/isa/p1_sound.h",
- MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.cpp",
- MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.h",
- MAME_DIR .. "src/devices/bus/isa/mc1502_rom.cpp",
- MAME_DIR .. "src/devices/bus/isa/mc1502_rom.h",
- MAME_DIR .. "src/devices/bus/isa/xsu_cards.cpp",
- MAME_DIR .. "src/devices/bus/isa/xsu_cards.h",
+ MAME_DIR .. "src/devices/bus/isa/pc1640_iga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/pc1640_iga.h",
+ MAME_DIR .. "src/devices/bus/isa/pcmidi.cpp",
+ MAME_DIR .. "src/devices/bus/isa/pcmidi.h",
+ MAME_DIR .. "src/devices/bus/isa/pds.cpp",
+ MAME_DIR .. "src/devices/bus/isa/pds.h",
+ MAME_DIR .. "src/devices/bus/isa/pgc.cpp",
+ MAME_DIR .. "src/devices/bus/isa/pgc.h",
+ MAME_DIR .. "src/devices/bus/isa/s3virge.cpp",
+ MAME_DIR .. "src/devices/bus/isa/s3virge.h",
+ MAME_DIR .. "src/devices/bus/isa/sb16.cpp",
+ MAME_DIR .. "src/devices/bus/isa/sb16.h",
+ MAME_DIR .. "src/devices/bus/isa/sblaster.cpp",
+ MAME_DIR .. "src/devices/bus/isa/sblaster.h",
MAME_DIR .. "src/devices/bus/isa/sc499.cpp",
MAME_DIR .. "src/devices/bus/isa/sc499.h",
- MAME_DIR .. "src/devices/bus/isa/aga.cpp",
- MAME_DIR .. "src/devices/bus/isa/aga.h",
+ MAME_DIR .. "src/devices/bus/isa/side116.cpp",
+ MAME_DIR .. "src/devices/bus/isa/side116.h",
+ MAME_DIR .. "src/devices/bus/isa/ssi2001.cpp",
+ MAME_DIR .. "src/devices/bus/isa/ssi2001.h",
+ MAME_DIR .. "src/devices/bus/isa/stereo_fx.cpp",
+ MAME_DIR .. "src/devices/bus/isa/stereo_fx.h",
+ MAME_DIR .. "src/devices/bus/isa/svga_cirrus.cpp",
+ MAME_DIR .. "src/devices/bus/isa/svga_cirrus.h",
+ MAME_DIR .. "src/devices/bus/isa/svga_s3.cpp",
+ MAME_DIR .. "src/devices/bus/isa/svga_s3.h",
MAME_DIR .. "src/devices/bus/isa/svga_trident.cpp",
MAME_DIR .. "src/devices/bus/isa/svga_trident.h",
- MAME_DIR .. "src/devices/bus/isa/num9rev.cpp",
- MAME_DIR .. "src/devices/bus/isa/num9rev.h",
- MAME_DIR .. "src/devices/bus/isa/mcd.cpp",
- MAME_DIR .. "src/devices/bus/isa/mcd.h",
- MAME_DIR .. "src/devices/bus/isa/myb3k_com.cpp",
- MAME_DIR .. "src/devices/bus/isa/myb3k_com.h",
- MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.cpp",
- MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.h",
- MAME_DIR .. "src/devices/bus/isa/eis_sad8852.cpp",
- MAME_DIR .. "src/devices/bus/isa/eis_sad8852.h",
- MAME_DIR .. "src/devices/bus/isa/eis_twib.cpp",
- MAME_DIR .. "src/devices/bus/isa/eis_twib.h",
- MAME_DIR .. "src/devices/bus/isa/eis_hgb107x.cpp",
- MAME_DIR .. "src/devices/bus/isa/eis_hgb107x.h",
- MAME_DIR .. "src/devices/bus/isa/lbaenhancer.cpp",
- MAME_DIR .. "src/devices/bus/isa/lbaenhancer.h",
- MAME_DIR .. "src/devices/bus/isa/np600.cpp",
- MAME_DIR .. "src/devices/bus/isa/np600.h",
- MAME_DIR .. "src/devices/bus/isa/bt54x.cpp",
- MAME_DIR .. "src/devices/bus/isa/bt54x.h",
- MAME_DIR .. "src/devices/bus/isa/dcb.cpp",
- MAME_DIR .. "src/devices/bus/isa/dcb.h",
+ MAME_DIR .. "src/devices/bus/isa/svga_tseng.cpp",
+ MAME_DIR .. "src/devices/bus/isa/svga_tseng.h",
+ MAME_DIR .. "src/devices/bus/isa/tekram_dc820.cpp",
+ MAME_DIR .. "src/devices/bus/isa/tekram_dc820.h",
MAME_DIR .. "src/devices/bus/isa/ultra12f.cpp",
MAME_DIR .. "src/devices/bus/isa/ultra12f.h",
MAME_DIR .. "src/devices/bus/isa/ultra14f.cpp",
MAME_DIR .. "src/devices/bus/isa/ultra14f.h",
MAME_DIR .. "src/devices/bus/isa/ultra24f.cpp",
MAME_DIR .. "src/devices/bus/isa/ultra24f.h",
- MAME_DIR .. "src/devices/bus/isa/tekram_dc820.cpp",
- MAME_DIR .. "src/devices/bus/isa/tekram_dc820.h",
- MAME_DIR .. "src/devices/bus/isa/asc88.cpp",
- MAME_DIR .. "src/devices/bus/isa/asc88.h",
- MAME_DIR .. "src/devices/bus/isa/bblue2.cpp",
- MAME_DIR .. "src/devices/bus/isa/bblue2.h",
- MAME_DIR .. "src/devices/bus/isa/3xtwin.cpp",
- MAME_DIR .. "src/devices/bus/isa/3xtwin.h",
- MAME_DIR .. "src/devices/bus/isa/lrk330.cpp",
- MAME_DIR .. "src/devices/bus/isa/lrk330.h",
- MAME_DIR .. "src/devices/bus/isa/opus100pm.cpp",
- MAME_DIR .. "src/devices/bus/isa/opus100pm.h",
- MAME_DIR .. "src/devices/bus/isa/hpblp.cpp",
+ MAME_DIR .. "src/devices/bus/isa/vga.cpp",
+ MAME_DIR .. "src/devices/bus/isa/vga.h",
+ MAME_DIR .. "src/devices/bus/isa/vga_ati.cpp",
+ MAME_DIR .. "src/devices/bus/isa/vga_ati.h",
+ MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.cpp",
+ MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.h",
+ MAME_DIR .. "src/devices/bus/isa/wd1007a.cpp",
+ MAME_DIR .. "src/devices/bus/isa/wd1007a.h",
+ MAME_DIR .. "src/devices/bus/isa/wdxt_gen.cpp",
+ MAME_DIR .. "src/devices/bus/isa/wdxt_gen.h",
+ MAME_DIR .. "src/devices/bus/isa/xsu_cards.cpp",
+ MAME_DIR .. "src/devices/bus/isa/xsu_cards.h",
+ MAME_DIR .. "src/devices/bus/isa/xtide.cpp",
+ MAME_DIR .. "src/devices/bus/isa/xtide.h",
}
end