Commit Graph

56 Commits

Author SHA1 Message Date
Akamaki
b484bf1b45 PS55DA2: Add a bracket to avoid compile warning 2025-04-04 10:04:43 +09:00
Akamaki
4a4a7a342a PS55DA2: formatting, sorting 2025-04-04 09:42:22 +09:00
Akamaki
392e3156bb disable debug code 2025-04-04 09:10:49 +09:00
Akamaki
beb417cc85 PS55DA2: cleanup, remove unused code 2025-04-04 08:55:14 +09:00
Akamaki
b4f3e06c1e PS55DA2: Fix some issues in DSPX and OS/2 dosbox 2025-04-04 08:23:32 +09:00
Akamaki
837f86a291 PS55DA2: Parse Bitblt data sequential 2025-04-03 22:17:24 +09:00
Akamaki
fc06d3de89 PS55DA2: add char drawing func in BitBlt
This build is still in work.

* Added character drawing function to support for DOS/V Extension DSPXDA2 driver.
* Implement CRTC regs: start address, end address, line compare to support line compare scrolling in DOS/V Extension.
* Enable updating CRTC regs when output is disabled.
2025-04-03 15:16:58 +09:00
Akamaki
94a928978e PS55DA2: update compatibility table 2025-03-29 20:46:30 +09:00
Akamaki
da855e02b4 PS55DA2: Fix video switcher
Fix an issue that the screen is resized repeatedly when booting OS/2.
2025-03-28 01:30:00 +09:00
Akamaki
209b29a239 PS55DA2: cleanup, change func scope
remove unused variables, change funcs declaration scope, reformat debug code
2025-03-28 00:55:33 +09:00
Akamaki
abb0670eb0 PS55DA2: remove unused code, update comment 2025-03-24 20:27:37 +09:00
Akamaki
3c4e8c9e4a PS55DA2: Fix screen size calculation
* Fix screen size calculation in recalctimings.
* Set the position of underscore by CRTC reg value.
* Optimize text drawing function
2025-03-24 19:46:16 +09:00
Jasmine Iwanek
fc639750ac Fix three warnings 2025-03-10 05:28:11 -04:00
Akamaki
1a60f5aac4 remove video timing modification 2025-03-05 13:01:58 +09:00
Akamaki
5b7766bb7a disable debug logging, update comments 2025-03-05 12:45:52 +09:00
Akamaki
6c92eb61bf fix a screen glitch in OS/2 DOS MODE 1
fix a glitch in OS/2 DOS MODE 1 (monochrome graphics)
2025-03-05 07:12:15 +09:00
Akamaki
5a77092a71 add support for 2nd sbcs in videomode 03 2025-03-05 00:38:39 +09:00
Akamaki
e798030022 modify bit mask alignment, added delay for vidsel
for Win 3.1.
And added delay for switching video selector
2025-03-04 11:38:31 +09:00
Akamaki
6f53e69efe added bit mask reset and alignment
for compatibility with OS/2 J2.1 (beta), Windows 3.1 and Multitool Chart K3.1 in J-DOS.
2025-03-04 07:47:15 +09:00
Akamaki
31d05b3e45 modify blank render 2025-03-01 23:58:31 +09:00
Akamaki
726ce6c574 modify video memory mask and screen updating 2025-02-28 10:29:17 +09:00
Akamaki
95f12bc206 fix glitch in Bitblt's line drawing function
fix a line glitch issue occurs in MS Paint and QEMM Manifest apps.
2025-02-28 00:50:01 +09:00
Akamaki
e49be34d30 fix an issue when loading bitblt data in async 2025-02-27 11:15:57 +09:00
Akamaki
3cde104ff6 add inversion ROPs (still in debug) 2025-02-27 08:29:06 +09:00
Akamaki
813afb8562 change bitblt exec speed slower
probably the real machine is slower than this
2025-02-26 04:16:36 +09:00
Akamaki
e9b8bbd0be add bit invert operation in bitblt 2025-02-25 11:59:46 +09:00
Akamaki
50300a1d9a Add line drawing function (incomplete)
remains a bug that the second hand doesn't appear in the Clock app of Windows 3.1.
2025-02-25 10:08:12 +09:00
Akamaki
4bc47894de safety read/write vram memory 2025-02-24 05:53:34 +09:00
Akamaki
d70f43828c replace magic numbers with predifined macros 2025-02-24 05:12:54 +09:00
Akamaki
4042fd15fb DA2 skip recalctimings if output is disabled 2025-02-22 22:03:39 +09:00
OBattler
9801e8b149 IBM PS/55 Display Adapter II: Use calloc instead of malloc, fixes incorrect operation when heap protection is enabled. 2025-02-21 19:37:53 +01:00
OBattler
baae4c15d6 Fixed a compile-breaking error in vid_p55da2.c as well. 2025-02-19 12:58:40 +01:00
OBattler
c7d9b4c5e7 PS/55: Fix some warnings and compile-breaking errors. 2025-02-19 11:21:50 +01:00
Akamaki
2d115e9b84 added patch for font rom, cleanup
* Added magic code for OS/2 J1.3 to disable BitBlt's text drawing function that is not implemented yet.
* Added comments
* Cleanup
2025-02-19 11:02:28 +09:00
Akamaki
61acd44736 added comment 2025-02-19 00:16:18 +09:00
Akamaki
244f766558 fix unexpected write to null fp in rel build 2025-02-18 23:45:16 +09:00
Akamaki
58c5d9606e fixed some drawing issues in Win 3.1.
* Changed bitblt execution. This fixes a mouse cursor color issue in Windows 3.1.
* Fixed splash graphics broken in A-Train IV.
2025-02-16 23:47:10 +09:00
Akamaki
3f3d77310e cleanup format 2025-02-16 12:21:16 +09:00
Akamaki
bbc237866b changed palette initialization method 2025-02-15 23:14:07 +09:00
Akamaki
6c5e8897de update comments 2025-02-15 19:49:03 +09:00
Akamaki
1c7a8e5bbb updated comments, modified format 2025-02-15 18:32:12 +09:00
Akamaki
16fc5e7902 corrected compile errors, removed garbage 2025-02-15 12:08:50 +09:00
Akamaki
dc7e6c2d7f Disabled DA2 debug logging by default 2025-02-15 11:05:16 +09:00
Akamaki
bfac770b4e reupload without code modification 2025-02-15 08:27:17 +09:00
Akamaki
9ab1e35b16 added a Traditional Chinese font ROM info 2025-02-13 20:10:23 +09:00
Akamaki
eeb10651da the prev change must be restricted in CN fontset 2025-02-11 12:08:45 +09:00
Akamaki
cdc381b619 Added a new machine: IBM PS/55 model 5551-V0,V1 2025-02-11 11:27:41 +09:00
Akamaki
3bfd2a6b16 Added a configuration to switch monitor types 2025-02-06 17:20:58 +09:00
Akamaki
f12b975eba Added support for PS/55 DA Simplified Chinese font
Changed a file path for the PS/55 DA Japanese font ROM.
2025-02-06 13:15:18 +09:00
Akamaki
6614a83b34 correct font read address in PS/55 video mode 03 2025-02-04 20:28:24 +09:00