|
Post by roytam1 on Jan 26, 2014 5:36:48 GMT -8
the hercules emulation seems funny. It is because 8086 tiny does not support resolutions other than 720x348, while ETen Chinese Shell uses 640x408. alright I finished half of it, video_mem_update() now really depends on GRAPHICS_X but not magic values. #ifndef NO_GRAPHICS void video_mem_update() { for (scratch_int = GRAPHICS_X * GRAPHICS_Y; scratch_int--;) ((unsigned*)sdl_screen->pixels)[scratch_int] = -!!(1 << (7 - scratch_int % 8) & mem[scratch_int / (GRAPHICS_X*4) * (GRAPHICS_X/8) + scratch_int % GRAPHICS_X / 8 + ((88 + io_ports[0x3B8] / 128 * 4 + scratch_int / GRAPHICS_X % 4) << 13)]); SDL_Flip(sdl_screen); } #endif
But it needs dynamic changing resolution instead of compile time hard-coding. So we really need supporting I/O port read/write for changing hercules CRTC registers for dynamic resolutions.
|
|
|
Post by Adrian Cable on Jan 26, 2014 9:55:33 GMT -8
All, I have now released 8086tiny 1.03, which supports Hercules resolution reprogramming. ETEN Chinese System should work. Please try and let me know your feedback.
Thanks!
-Adrian
|
|
v
New Member
Posts: 16
|
Post by v on Jan 26, 2014 14:41:21 GMT -8
I tested ETEN 3.50, and it displayed a SDL window similar to the 2nd one so i assume it is working.
|
|