7799 Commits

Author SHA1 Message Date
Jonathan Campbell
08155f196a PC-98: Save some memory by reducing text memory region to 16KB (to match A0000-A3FFF on real hardware). Prior to this commit 16KB was wasted to back the character generator and unmapped portions at A4000-A7FFF. 2019-04-17 19:43:51 -07:00
Jonathan Campbell
877546331c more 2019-04-17 19:30:47 -07:00
Jonathan Campbell
4a6cd11186 more 2019-04-17 19:29:51 -07:00
Jonathan Campbell
c0ffd37728 more 2019-04-17 19:26:51 -07:00
Jonathan Campbell
09d09c01c7 more 2019-04-17 19:20:25 -07:00
Jonathan Campbell
e6ac70246d PC-98: Set bitplane size to 64KB, second page on second 32KB half, and proper page flipping offsets for 8/16/256-color planar and 256-color packed mode 2019-04-17 19:10:43 -07:00
Jonathan Campbell
e9222cea61 Page flip work, more 2019-04-17 19:06:53 -07:00
Jonathan Campbell
f339b12ceb PC-98 256-color packed page flip is different than planar page flip 2019-04-17 19:01:54 -07:00
Jonathan Campbell
0742785b52 cleanup 2019-04-17 18:59:35 -07:00
Jonathan Campbell
05432e7236 Revert "PC-98 make bitplanes 64KB in size, page flip by adding 32KB. Yet to do, fix 256-color packed mode which is now broken"
This reverts commit 2c0b74c76b.
2019-04-17 18:27:26 -07:00
Jonathan Campbell
2c0b74c76b PC-98 make bitplanes 64KB in size, page flip by adding 32KB. Yet to do, fix 256-color packed mode which is now broken 2019-04-17 18:09:33 -07:00
Jonathan Campbell
eceaf1ac8c cleanup, refactor code 2019-04-17 18:00:58 -07:00
Jonathan Campbell
95c6984e7a cleanup 2019-04-17 17:50:15 -07:00
Jonathan Campbell
fe33154b9d PC-98 make bitplane management a bit more generic 2019-04-17 17:42:03 -07:00
Jonathan Campbell
3d62f8f6ee EGC ROP consolidate VRAM fetch 2019-04-17 17:16:38 -07:00
Jonathan Campbell
bbb4e7a7ac PC-98 memory I/O: Fix up the code to use the CPU page pointer rather than direct memory access 2019-04-17 17:06:36 -07:00
Jonathan Campbell
306365806b cleanup address translate 2019-04-17 16:24:00 -07:00
Jonathan Campbell
63a15b73ea Revert "PC-98 memory I/O convert to use CPU page ptr"
This reverts commit 94eedb12f6.
2019-04-17 16:00:49 -07:00
Jonathan Campbell
9489653a55 Revert "PC-98 memory I/O convert to use CPU page ptr"
This reverts commit 76fd476fed.
2019-04-17 16:00:45 -07:00
Jonathan Campbell
7f13456be9 Revert "cleanup"
This reverts commit 752c3282e6.
2019-04-17 16:00:40 -07:00
Jonathan Campbell
752c3282e6 cleanup 2019-04-17 15:52:38 -07:00
Jonathan Campbell
76fd476fed PC-98 memory I/O convert to use CPU page ptr 2019-04-17 15:26:45 -07:00
Jonathan Campbell
94eedb12f6 PC-98 memory I/O convert to use CPU page ptr 2019-04-17 15:22:00 -07:00
Jonathan Campbell
2c472fccf9 PC-98: Use pointers to regions of video memory, updated by writes to port A4h/A6h instead of computing from GDC page flip and VOPBIT_ACCESS every time 2019-04-17 14:37:58 -07:00
Jonathan Campbell
87e9b55862 PC-98: Simplify VOPBIT_ACCESS by setting second page offset to 0x40000 at all times 2019-04-17 14:09:08 -07:00
Jonathan Campbell
759798657b VGA memory: Separate out common PC-98 planar memory I/O, begin 2019-04-17 13:59:22 -07:00
Jonathan Campbell
87246ed6fc VGA memory: Move linear to physical translation 2019-04-17 13:54:46 -07:00
Jonathan Campbell
d32e4a40a5 VGA memory: Move PC-98 256-color access out to its own page handler 2019-04-17 12:47:01 -07:00
Jonathan Campbell
bbe3602638 VGA memory: Move 256-color MMIO handler out into its own handler 2019-04-17 12:26:44 -07:00
Jonathan Campbell
158e4dda43 more 2019-04-17 12:03:28 -07:00
Jonathan Campbell
67f1a6192f more 2019-04-17 12:00:47 -07:00
Jonathan Campbell
9aa771ef26 more 2019-04-17 11:55:15 -07:00
Jonathan Campbell
d8deed3c21 more 2019-04-17 11:49:29 -07:00
Jonathan Campbell
35575f9ef3 VGA memory: cleanup PC-98 graphics handler and remove traces of NVRAM and text handling code 2019-04-17 11:44:25 -07:00
Jonathan Campbell
34f3c875ef VGA memory: Begin splitting up PC-98 memory handlers so that one function is not handling both text, CG, and graphics all at once 2019-04-17 11:38:19 -07:00
Jonathan Campbell
5cace7d0bd VGA: Cleanup PC-98 memory mapping setup, prepare for memory handler cleanup 2019-04-17 11:03:04 -07:00
Jonathan Campbell
b5134c1868 more 2019-04-17 00:11:14 -07:00
Jonathan Campbell
2c88a21c8e more dosbox-x-v0.82.18-beta20190414 2019-04-14 18:42:12 -07:00
Jonathan Campbell
69d25d695a grid correction 2019-04-14 18:40:50 -07:00
Jonathan Campbell
878a1fe559 update 2019-04-14 17:49:15 -07:00
Jonathan Campbell
1f00cdc123 Try to resolve SDL2 potential crashes by initializing SDL pointers to NULL 2019-04-14 17:27:09 -07:00
Jonathan Campbell
fee7a899f6 more 2019-04-14 17:05:23 -07:00
Jonathan Campbell
e11781a9ec changelog 2019-04-14 17:04:16 -07:00
Jonathan Campbell
d3998361ce Configuration GUI: Do not waste memory allocating background and screenshot SDL surfaces if there is no DOS screen to render one from. This can happen if started immediately from the command line using --startgui 2019-04-14 17:03:41 -07:00
Jonathan Campbell
939a0b5800 Configuration GUI: Remove assertion fail if sdl clip rectangle is null, it works just fine anyway 2019-04-14 16:55:38 -07:00
Jonathan Campbell
069cd702f6 more 2019-04-14 16:52:59 -07:00
Jonathan Campbell
09f745daa3 Configuration GUI: Fix menu bar so that, if it has focus, permits the user to TAB away from it 2019-04-14 14:52:05 -07:00
Jonathan Campbell
1f3dfef688 Configuration GUI: Fix drawText interpreted mode so that moving a window partially offscreen does not cause bugs with text wrapping against the edge of the screen 2019-04-14 14:46:57 -07:00
Jonathan Campbell
6290d28db7 update build date 2019-04-14 13:22:42 -07:00
Jonathan Campbell
86eb7513ae Configuration GUI: Apply same one-instance rule to help windows 2019-04-14 12:53:11 -07:00