|
Post by tokra on Oct 13, 2023 15:14:51 GMT
When you run vdcihfli.exe it should not only create the result.ppm but 4 other files as well: bitmap_top, bitmap_bot, colour_top and colour_bot. These are the files that can be displayed on the C128. The program vdc-ihfli-view is the one you need to run on the C128 with the 4 files in the same directory/disk. I just noticed it looks for a "settings.vdc"-file as well, that is usually created. Before first run just replace line 50 with "50 B=129" and then type RUN. The the picture should load (the 4 files) and when done you can adjust the vertical position with CRSRS UP/DOWN and then the "real" "settings.vdc" will be saved. I will fix this in a future version.
|
|
|
Post by tokra on Oct 12, 2023 19:15:23 GMT
Quick question on the included converters (vdcihfli.exe): How do you get a resulting PPM file that can actually fit on a floppy disk? The smallest 640x480 file I can get is over 900k, which I can't fit on a 332k C1571 floppy disk and therefore prevents me from viewing my image on my C128. PPM is not the result but the input file for vdcihfli.exe - you can convert any graphics to PPM by using a tools like IrfanView for example. Make sure the resolution is correct and you save as "binary encoding" vdcihfli.exe is a program to be run in a cmd-prompt on a Windows-machine. Just type "cmd" in the search-box. You will also need some Visual-C runtimes (not sure which) from Microsoft. These should be already on your system or easy to find. When doing the conversions on monochrome PGM-files with the BASIC-programs I suggest using VICE in Warp-Mode for that and using virtual-filesystem access (disable True Drive Emulation and enable Virtual Device in VICE so you can use the Windows-filesystem directly.
|
|
|
Post by tokra on Sept 28, 2023 13:48:37 GMT
My thinking is: Unless there is a very good reason your program should work on a 1901 and a 1084 as these are the original C128-monitors. It is the other display-devices that have to adapt.
|
|
|
Post by tokra on Sept 28, 2023 10:46:12 GMT
Yeah, these cga2rgb-converters sometimes make matters worse. I have two which react completely differently. Reg 5 is always the one you should tweak one way or the other. Interlace on the VDC seems to be off standard sadly. Usually you would need a total uneven number of lines (i.e. 525 interlace-lines) so that the display-device / converter can recognize top and bottom-fields. However with colour interlace modes (like 8x2) this is just impossible. That's why the RGB2HDMI-device added a "force interlaced"-option, see here: github.com/hoglet67/RGBtoHDMI/issues/170 - discussion starting May 25th 2023.
|
|
|
Post by tokra on Sept 24, 2023 19:36:09 GMT
I just tried my settings on a 1901 and in VICE. In VICE the picture is not correctly interlaced, but on the 1901 this looks perfect. Apparantly still missing emulation in VICE. On a 1901 I only get a stable picture with EVEN values for Reg 5, on VICE only on ODD values - and ZERO strangely. So if you want to work around this VICE-bug you can set Reg 0 to ZERO. Then again: I have had interlace-recognition exactly the other way around on my TFT with an RGBI->SCART-adapter, so this is always going to be working in one case and not in another. Best practice would probably be to make this user-adjustable. Here's my program: 10 bank15:fast:w=dec("cdcc"):fori=0to36:reada$:sysdec("cdcc"),dec(a$),i:next 20 sysw,0,18:sysw,0,19:sysw,13,31:fori=0to31:sysw,0,30:next:scnclr5 100 data7e,50,64,49,40,e4,32,3a,ff,e7,a0,e7,00,00,00,00,00,00,1f,a0,10,00,78,e8,00,47,00,00,2f,e7,4f,00,00,00,7d,64,f0
Again: confirmed working on my 1901
|
|
|
Post by tokra on Sept 24, 2023 10:37:00 GMT
Yes, your fist mode barely displayed on my 1901 if I turned the VSYNC-knob all the way. My suggestion for testing out modes is to use VICE and the Monitor (ALT+M or ALT+H depending on version) and using the "io d600"-command to show the register-settings and what they mean.
The "128gameVDCTest.prg"-mode show a resolution of 640x400 in a frame of 1032x520 which is a little off standard. I would sugest for this mode to go for better NTSC-compatibility and change the registers as follows:
0 -> 126 5 > 228 36 -> 0
This will give 524 interlaced lines at 60.11 Hz and keep the horizontal frequency at NTSC-standard. I never understood why so many modes change register 0. It only leads to trouble.
|
|
|
Post by tokra on Sept 23, 2023 22:02:20 GMT
Hmm, I can barely get a stable picture on my 1901 but I see a colorful image consisting of two red areas and a blue area. However I see no vertical or horizonzal spacing you speak of. In the bottom I see a blinking text-line with what seems are random characters.
I also tried the registers of your first post manually and can see neither spacing then as well.
|
|
|
Post by tokra on Sept 23, 2023 18:14:29 GMT
Can you post a link to a full program? Kind of cumbersome to try your register settings manually.
|
|
|
Post by tokra on Aug 4, 2023 9:05:11 GMT
Download: csdb.dk/release/?id=234174Extended release of VDC Mode Mania from 2012/2015. This one has a new graphics-mode: - 960x540 interlace monochrome This mode only works with the RGBtoHDMI-device with at least Beta 59-firmware: github.com/IanSB/RGBtoHDMI/releasesFurther updated: - D71 and D81-images - stop slideshows with ESC-key - bugfix for VDC-FLI introduced with V1.11
|
|
|
Post by tokra on Mar 8, 2023 16:32:00 GMT
Not so much recently. Maybe once every few months now. I'm not a full admin here anyway. Sadly "VDC 8x2" has not been seen in ages.
|
|