1
0
Fork 0
dosbox-staging/src/hardware
Patryk Obara 4e65c8f69f Add asserts to prevent a potential bug
Use C++11 static_assert to assure, that code behaves correctly; if
Chip or Channel structs will be changed to non-std layout or a different
first fields will be introduced, that will invalidate the offset
calculation.

Additionally, add asserts to prevent possibility of introducing a bug
when offset stored in one the tables is 0.
2019-11-12 17:13:01 +01:00
..
mame Merge branch 'svn/trunk' 2019-10-03 23:44:48 +02:00
serialport Merge branch 'svn/trunk' 2019-10-01 18:11:50 +02:00
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
adlib.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
adlib.h Add asserts to prevent a potential bug 2019-11-12 17:13:01 +01:00
cmos.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
dbopl.cpp Add asserts to prevent a potential bug 2019-11-12 17:13:01 +01:00
dbopl.h Switch to a different way to calculate the table offsets. Thanks jmarsh 2019-11-11 17:23:05 +00:00
disney.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
dma.cpp Some dma changes to make the world a better place 2019-11-02 11:21:48 +00:00
gameblaster.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
gus.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
hardware.cpp Fix bug 512, reported by philipp. (checking wrong variable to see if malloc was a success) 2019-09-02 16:50:30 +00:00
iohandler.cpp Make effect of I/O delay more consistent as cycles run out. Prevents flickering in NBA Jam Tournament Edition at higher cycles, and also improves automatic speed limiting in Quake. 2019-04-20 22:59:42 +00:00
ipx.cpp Pick some lowhanging fruit. (some memory leaks and unused variables) 2019-10-01 12:11:09 +00:00
ipxserver.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
joystick.cpp Use fabsf when return value is a float. Small warning fix. 2019-10-09 20:49:21 +00:00
keyboard.cpp Implement timer 2 output on port 61h; fixes SB detection in Abaron. Also implement port 62h with timer 2 output for CGA and Hercules machine types; fixes Frank Bruno's Boxing and Math Maze. 2019-02-04 15:11:50 +00:00
Makefile.am Update automake files for mame files 2017-08-24 13:01:15 +00:00
memory.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
mixer.cpp Refactor CD-DA flow by removing intermediate buffers and loops 2019-11-12 08:16:53 +01:00
mpu401.cpp Ignore unrequested data in intelligent mode; fixes Roland sound in Krusty's Fun House. 2019-02-21 14:53:31 +00:00
opl.cpp Make feature checks consistent, include right header for memset, correct one off error in paging table size compare for when not using USE_FULL_TLB (jmarsh) 2019-01-28 14:26:19 +00:00
opl.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
pci_bus.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
pci_devices.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
pcspeaker.cpp Use fabsf when return value is a float. Small warning fix. 2019-10-09 20:49:21 +00:00
pic.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
sblaster.cpp GenerateDMASound can generate sound even with input size is 0, so lets not do that. Might even be an option to skip this call entirely depending on the sblaster configuration (not sb.dma.autoinit) 2019-11-06 08:59:40 +00:00
tandy_sound.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
timer.cpp Implement timer 2 output on port 61h; fixes SB detection in Abaron. Also implement port 62h with timer 2 output for CGA and Hercules machine types; fixes Frank Bruno's Boxing and Math Maze. 2019-02-04 15:11:50 +00:00
vga.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_attr.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_crtc.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_dac.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_draw.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_gfx.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_memory.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_misc.cpp Bit 2 of video status register always set. Satisfies a strange test in Blues Brothers, thus preventing slow animations. 2019-10-03 16:35:44 +00:00
vga_other.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_paradise.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_s3.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_seq.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_tseng.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00
vga_xga.cpp Update year and address of FSF 2019-01-25 14:09:58 +00:00