Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: darthvader

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    114
    Views
    3,194

    Hi Jean Marc :) I will finish some code for my...

    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...
  2. Replies
    114
    Views
    3,194

    Hi Jean Marc :) I just tested your new lib , it...

    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...
  3. Replies
    114
    Views
    3,194

    Great to ear it finally work :) I have code...

    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...
  4. Replies
    114
    Views
    3,194

    Hi , to overcome the tiny 320x240 SPI LCD ,...

    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...
  5. Replies
    114
    Views
    3,194

    Hi Jean Marc :) Any news on the project ? , i...

    Hi Jean Marc :)
    Any news on the project ? , i have work on some other project and hope you advance in your VGA problems ...
  6. Replies
    114
    Views
    3,194

    Hi , I finally made the drawfullpolygon , it...

    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.
  7. Replies
    114
    Views
    3,194

    I just get my new scope :) I see that after the...

    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....
  8. Replies
    114
    Views
    3,194

    Hi , i continued with functions in VGA_T4 , now...

    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...
  9. Replies
    114
    Views
    3,194

    What you explain with the 2D HW Block is like it...

    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 ...
  10. Replies
    114
    Views
    3,194

    Hi , I optimized the drawcircle , the test if...

    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...
  11. Replies
    114
    Views
    3,194

    With byte decomposed in 2 parts it will not be...

    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...
  12. Replies
    114
    Views
    3,194

    I just found my Ellipse bug :) replace ...

    I just found my Ellipse bug :)

    replace
    rad2 = radius1;
    with
    rad2 = radius2;

    that's it :rolleyes:
  13. Replies
    114
    Views
    3,194

    Hi , i've found bug in VGA_T4 , i corrected it ,...

    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...
  14. Replies
    114
    Views
    3,194

    Hi :) I just tested your new VGA_T4 lib , now...

    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...
  15. Replies
    114
    Views
    3,194

    Well , i'm not good enough with this MCU to tell...

    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....
  16. Replies
    114
    Views
    3,194

    I just got a stupid idea ... but not sure that's...

    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...
  17. Replies
    114
    Views
    3,194

    Pins 48 to 54 are in use for the PSRAM , so ,...

    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...
  18. Replies
    114
    Views
    3,194

    Some times ago , Bitluni made allot of test about...

    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 :...
  19. Replies
    114
    Views
    3,194

    Hi , I don't have try char actually , just have...

    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...
  20. Replies
    114
    Views
    3,194

    Hi :) I was involved in the 1st Maximite and...

    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...
  21. Replies
    114
    Views
    3,194

    The VGA Standard say to output vsync every...

    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...
  22. Replies
    114
    Views
    3,194

    Hi :) I have now 640x480 full screen ,...

    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 ...
  23. Replies
    114
    Views
    3,194

    On my scope it measure 29.9Hz for the vsync (see...

    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...
  24. Replies
    114
    Views
    3,194

    Hi , Is fb_stride supposed be the length of a...

    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...
  25. Replies
    114
    Views
    3,194

    Wow , allot better now :) On the scope the vsync...

    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...
  26. Replies
    114
    Views
    3,194

    I don't have wait tomorrow for put the signals...

    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...
  27. Replies
    114
    Views
    3,194

    The pixel clock is not so high , it's just...

    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...
  28. Replies
    114
    Views
    3,194

    Hi :) I have DL and test MCUXpresso Config Tools...

    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 ,...
  29. Replies
    114
    Views
    3,194

    I just discover something interesting in this...

    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...
  30. Replies
    114
    Views
    3,194

    The margin have to be in the buffer you created...

    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...
  31. Replies
    114
    Views
    3,194

    Hmmm , then it have to do with DMA , they...

    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 ......
  32. Replies
    114
    Views
    3,194

    I have read that you use PCM5102 module for audio...

    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.
  33. Replies
    114
    Views
    3,194

    It's the reason i investigated how it works :) I...

    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...
  34. Replies
    114
    Views
    3,194

    Hi :) I was not here too .. he he , i have do...

    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...
  35. Replies
    114
    Views
    3,194

    Hi , I have use one from the USB HID KB example...

    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...
  36. Replies
    114
    Views
    3,194

    Hi , I was the full evening in trying to get...

    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...
  37. Replies
    114
    Views
    3,194

    AZERTY is ok , they just don't care on the 'ALT...

    AZERTY is ok , they just don't care on the 'ALT GR' key ... so the special chars are not present
    ~#{|`\^@]}
    "<>" was not here too ... i go investigate where they are :)
  38. Replies
    114
    Views
    3,194

    I find out what it was :) Reset your board ,...

    I find out what it was :)

    Reset your board , check for 5v on USB Host , it's nothing ...
    Start a Game from SD Card ...
    5v appear on USB Host !
    From the start i think it's active at start from...
  39. Replies
    114
    Views
    3,194

    No USB before for me on T4.1 The 1st sketch is...

    No USB before for me on T4.1
    The 1st sketch is your emulator :D
    I go check for some usb demo stuff and try to made them work to see what happens


    So , i found a sketch that work :D
    ...
  40. Replies
    114
    Views
    3,194

    My bad , i say OTG but it's USB HOST :) The 5v...

    My bad , i say OTG but it's USB HOST :)
    The 5v is not active on the pin , on the schematic i see i'ts something to do with USB_VBUS pin from the MCU
    Now on KB i followed the files to see where it...
  41. Replies
    114
    Views
    3,194

    Press A,Q,W on azerty KB if you get Q,A,Z ......

    Press A,Q,W on azerty KB if you get Q,A,Z ... then you need FR conversion , not hard to do , i'm on it ..
    I have do FR , DE , IT , ES keyboard for the Maximite in 2012/2013 and i do the same on...
  42. Replies
    114
    Views
    3,194

    Great news for the USB KB :) If you tell me...

    Great news for the USB KB :)

    If you tell me where you do the decoding for USA QWERTY KB to Amiga KB , i will add the AZERTY French one (so i can use mine;) )

    I have try to understand how the...
  43. Replies
    114
    Views
    3,194

    You have to set the PLL that output the pixels ,...

    You have to set the PLL that output the pixels , vsynch , hsync at closest you can from 25.175Mhz to get the perfect timing.



    1 : Do this 480 times : Output the 640 pixels , then , after...
  44. Replies
    114
    Views
    3,194

    Hi :) Great news if we can use directly a USB...

    Hi :)

    Great news if we can use directly a USB KB , i was trying to understand how to use my version ( 1 char sent per I2C at a time ) , but how it's done in UAE it's like to try to find out your...
  45. Replies
    114
    Views
    3,194

    Ok :) So i will look that my I2C code...

    Ok :)

    So i will look that my I2C code correspond to yours.
    Is just that i put only one char on I2C bus each time , i see in 'emuapi.c' that you get 7 bytes each time ....
    So i have to made some...
  46. Replies
    114
    Views
    3,194

    Hi :) Strange that you can't get the 640 x 240...

    Hi :)

    Strange that you can't get the 640 x 240 resolution , it must be something with the timing.
    I got problems with that some years ago with the STM32F407 MCU , when everything was ok the 640 x...
  47. Replies
    114
    Views
    3,194

    Hi :D Today i connected a PS2 or (USB to PS2)...

    Hi :D

    Today i connected a PS2 or (USB to PS2) keyboard to a arduino nano who read the KB and send the character out to I2C when requested.
    Is it something to know to made it work like your I2C KB...
  48. Replies
    114
    Views
    3,194

    Hi , the teensy64 is included in the emulator...

    Hi , the teensy64 is included in the emulator pack from Jean-Marc :)
  49. Replies
    114
    Views
    3,194

    Hi :) I tested , i get disturbance in video...

    Hi :)

    I tested , i get disturbance in video line , when sound is activated.
    I2C Keyboard is a good idea , but then we need a ... real ... schematic ;)

    On this picture you can see the...
  50. Replies
    114
    Views
    3,194

    I just tested uae on T4.1 ;) So great to see a...

    I just tested uae on T4.1 ;)
    So great to see a full speed Amiga coming out of this little Teensy !!
    I need now a keyboard , i take a look at your i2c keyboard , your schematic is 'Ugly' :)
    Do you...
Results 1 to 50 of 56
Page 1 of 2 1 2