Hi :)
I have made your change , it's strange like this ... he he
I check on wiki for the original Amiga res , it is :
Games use less to get more colors , it's difficult to create a resolution...
Type: Posts; User: darthvader
Hi :)
I have made your change , it's strange like this ... he he
I check on wiki for the original Amiga res , it is :
Games use less to get more colors , it's difficult to create a resolution...
Hi Jean Marc :)
I found another screen for VGA testing , now it's OK , the auto correction work and the left part of screen is finally filled :)
On Amiga workbench , the bottom pixels are off...
Hello Jean Marc :)
I'm back home and tested what you say , it change nothing for the drift to right.
It's not just on emulator but generic , it do also the same with the demo program.
I don't...
Hi Jean Marc ,
I have check your VGA driver but i have to admit ,the way it's done, it's too complex for me :D
I have then test on STM32 for try to shift the screen to right , i don't have...
Just tested on Turrican , it work :D
Image quality is great , i just get some horizontal line sometimes , but actually i don't have sound that come out of the pcm5102 , i will check my connection...
Hi ,
I tested your last version from Github , the mouse act correctly this time.
Thanks :)
It's me again :)
Just a question about the Amiga and or ST emulator.
Allot of games and apps use 2 or more disk (adf) , is it a way to have more than one adf disk file linked at start of the...
I think i found a bug with the mouse.
When you click on a mouse button it release alone and not when you release the button yourself.
The 2 mouse buttons act like that , i see this in amiga...
Hi ,
You where right , it was the 3 buttons , as i used other buttons on this test board connection was inverted ,it was like the 3 buttons was constantly pressed , now everything is ok.
Thanks ;)
Thanks for this information ,
Arduino output , compiled as smallest code (it's in french)
Le croquis utilise 1069568 octets (13%) de l'espace de stockage de programmes. Le maximum est de...
Hi Jean Marc ;)
I'm back to home and finished the teensy test-board , i get your latest source and see you added the mouse , what is the pins to use for the mouse ?
Actually the USB port got the...
Hi ;)
With the schematic it's allot easier to see how everything is connected together :)
But i see that you are using the pins D34 to D37 for the external joystick , this pins are connected to the...
Are you going to use the PCM5102 for audio ?
If yes , let me know , so i will look to add it on the new test board i have to do later this week :)
Hi Jean Marc,
Is it possible for you to made a real schematic ?
From the PCB it's not really easy to know the connection if we do it on a test board ;)
Thanks.
Hi Jean Marc :)
I will finish some code for my LCD Maximite 2 on STM32 first on this board ( https://www.waveshare.com/product/mcu-tools/development-boards/stm32-open/openh743i-c-package-b.htm ) and...
Hi Jean Marc :)
I just tested your new lib , it work well.
But i have to compile for 'smallest code' , in other mode they are more glitch in screen.
640x480 is one of the mode that work at best...
Great to ear it finally work :)
I have code other project in that time (colour maximite 2 with 1024x600 LCD)
Last code was : https://drive.google.com/file/d/1cuT6xqE7OqCBtNcQd_AwLePSVZRvaxpo/view...
Hi ,
to overcome the tiny 320x240 SPI LCD , have you consider to use something like this chip ? :
http://www.vlsi.fi/en/products/vs23s010.html
I don't know the max res we can get but it's for...
Hi Jean Marc :)
Any news on the project ? , i have work on some other project and hope you advance in your VGA problems ...
Hi ,
I finally made the drawfullpolygon , it seem to work now :)
Code is here :
https://drive.google.com/file/d/1cuT6xqE7OqCBtNcQd_AwLePSVZRvaxpo/view?usp=sharing
Cheers.
I just get my new scope :)
I see that after the last pixel from the last line you just wait 6 lines for the V front porch ... it have to be 11 (for 640 x 480) , the vsync itself is OK with 2 lines....
Hi ,
i continued with functions in VGA_T4 , now you can use polygon too :)
draw_h_line , draw_v_line mod to accept negative length value.
I will try to do a drawfilledpolygon but i got some...
What you explain with the 2D HW Block is like it work on STM32F7xx / H7xx with the LTDC and DMA2D ;) ... but you need to have the corresponding pins available ...
Hi ,
I optimized the drawcircle , the test if pixels x,y was > to 0 is now useless because it's tested in drawpixel.
The precalculed sin/cos and ABS declaration are now in VGA_t4.h , so they are...
With byte decomposed in 2 parts it will not be easy to resolve for the DMA.
And use a little SPI LCD for Amiga emulator it's not the ideal way :)
A SPI LCD with more resolution will become too slow...
I just found my Ellipse bug :)
replace
rad2 = radius1;
with
rad2 = radius2;
that's it :rolleyes:
Hi , i've found bug in VGA_T4 , i corrected it , that was the pixel who can go out the screen and it append some time a freeze from the T41. Now it's OK :)
I made 2 new easy function :
void...
Hi :)
I just tested your new VGA_T4 lib , now the 640x480 is perfect , it's just little blue but no more pixel shift ;)
Your code is so far away from what i understand on T41 !! , where do you get...
Well , i'm not good enough with this MCU to tell you if it's ok or not for triggering 2 FLEXIO with only one signal :)
But for the FLEXIO3 it's sure that it will slow down everything without DMA....
I just got a stupid idea ... but not sure that's so stupid :) and go in a total reverse way than VGA ...
As all this emulator emulate ooOOooOOooLD machines , and all this old (computer) have use PAL...
Pins 48 to 54 are in use for the PSRAM , so , it's not possible to use them :)
I have take a look at the LCDIF pins with the nxp pin tool , all what we need is on FLEXIO2 but some pins are not...
Some times ago , Bitluni made allot of test about VGA on ESP32 MCU.
https://github.com/bitluni/ESP32Lib
I compiled all timing and put them in a PDF that you can take here :...
Hi ,
I don't have try char actually , just have try to have better image , it's like the FlexIO1 and FlexIO2 are shifted on 2 pixels , but i don't understand how all it's done ...
If you have some...
Hi :)
I was involved in the 1st Maximite and Colour Maximite , and was so to say my job to made and fix keyboard for some country.
After that my work evolved and i was no more able to stay active...
The VGA Standard say to output vsync every 16.6832mS that is 1000/16.6832 = 59.94Hz
I don't have made any PCB here :o , i just take my 8 year old R2R VGA DAC PCB and fitted the some resistances that...
Hi :)
I have now 640x480 full screen , apparently the left black border was from reading empty memory (i think) , i shifted the start address from FlexIO memory start and the black band vanished ...
On my scope it measure 29.9Hz for the vsync (see the picture).
And is bad that the DMA is too slow , will be good to see the max speed reach from the DMA at outputting FlexIO bytes.
The 548x480...
Hi ,
Is fb_stride supposed be the length of a whole line ? i mean , 640 pixels + frontporch + vsync + backporch ?
If yes , then the vsync lenght itself was not there , i added it but the result...
Wow , allot better now :)
On the scope the vsync is good now.
Before ? , Hsync have to be after the pixels.
With hsync to 1
put the 640 pixels out then wait front porch (16 pixels) , put...
I don't have wait tomorrow for put the signals under my scope :)
On your HSync , you don't have add the frontporch , i created a var and added the 16 pix.
After this i recompiled and the 640x480...
The pixel clock is not so high , it's just 25.175Mhz for 640x480 60Hz.
And yes , is strange that the sync are after the pixels :) , i scrapped my head around and lost some hair when i do it in...
Hi :)
I have DL and test MCUXpresso Config Tools , i have a demo that use PXP (pixels stuff to LCD) and you right , the T4.1 don't output enough of pins , LCD_CLK and LCD_ENABLE is not used by VGA ,...
I just discover something interesting in this i.MX RT1060 document.
https://drive.google.com/file/d/1q7aImWlO3-phsiTVXsSfwYTk7w1V9krD/view?usp=sharing
Page 11 : 8/16-bit CSI interface and...
The margin have to be in the buffer you created for the picture.
For 640 x 480 resolution you have the 640x480 pixels in buffer.
So , for 512x480 you still have 640x480 pixels in buffer :)
It's...
Hmmm , then it have to do with DMA , they normally never collide and work in back of the MCU (at least on stm32) .... i hope T4.1 work the same way ...
So bad i don't know this MCU a little more ......
I have read that you use PCM5102 module for audio , i have some of them , is there a schematic for connect it to the T4.1 so i will use them too :)
Cheers.
It's the reason i investigated how it works :)
I have take a look on google about the Belgian KB , everything is the same , only some symbols take other place ...
But take care , i just have made...
Hi :)
I was not here too .. he he , i have do some debug on Colour Maximite 2 on the FR KB and corrected one error on the DE KB.
After that i have investigate the T4.1 KB system , and i corrected...
Hi ,
I have use one from the USB HID KB example to understand how the lib work :)
So i modified the example code to follow what we need , actually i made change for the FR KB that use the special...
Hi ,
I was the full evening in trying to get right code out :D
In debugging the KB , the code are correct , but is the conversion to amiga code that didn't work great.
Shift key , AltGr key are...