User Activity

  • Posted a comment on discussion Help on gpsim - The gnupic Simulator

    to solve that compile issue, I just: cd modules make cd .. make

  • Modified a comment on discussion Help on gpsim - The gnupic Simulator

    I've made a minimal change to a copy of the code, changing three lines in modules/video.cc guint32 *p = (guint32 *)(data + (i*4 + y * stride)); if (line[i] >= 4) { *p = 0xFFcfcfff; } else if (line[i] > 2) { *p = 0xFF7fff7f; } else { *p = 0xFF082010; } Basically changing to the RGBA (4 byte format) - and making sure opacity is 0xFF It will work now: see [image: Screenshot from 2021-01-26 22-56-01.png] (I put analog simulation on porta2 to move the paddle around, and left it running for a while).

  • Modified a comment on discussion Help on gpsim - The gnupic Simulator

    Hi Lakis, What speed microcontroller in the sim are you using? 20MHz? 4MHz? The height would be based on the syncs (and number of lines) - but the width would be the timing (compared to standard). Paul S.

  • Modified a comment on discussion Help on gpsim - The gnupic Simulator

    The pal-tv-pp1 code is mine, I have the source if you want. You will need to make sure you hook up the correct PINs to the Video (there is an audio line too) RA0 an RA1 connected with different resistors, to form the composite output. Paul S. On Mon, Aug 31, 2020 at 9:41 PM Lakis lakis007@users.sourceforge.net wrote: Thank you, yes now i can see the video screen. I had tried the original pong with pic 16f84 and i got the first screenshot. I tried your files and got the second screenshot . It isnt...

  • Modified a comment on discussion Help on gpsim - The gnupic Simulator

    Specifically - you attach RA0 (porta0) to lume, and RA1 (porta1) to sync Paul S.

  • Modified a comment on discussion Help on gpsim - The gnupic Simulator

    I know why - the PAL_Video (video.cc) module is outputting pixels but one colour channel incrementing - so 10 bytes (say) gets folded into 3x3+1 byes (3 and a bit pixels) hence the red black white and cyan colours (should be white or black). Paul S.

  • Modified a comment on discussion Help on gpsim - The gnupic Simulator

    I've made a minimal change to a copy of the code, changing three lines in modules/video.cc guint32 *p = (guint32 *)(data + (i*4 + y * stride)); if (line[i] >= 4) { *p = 0xFFcfcfff; } else if (line[i] > 2) { *p = 0xFF7fff7f; } else { *p = 0xFF082010; } Basically changing to the RGBA (4 byte format) - and making sure opacity is 0xFF It will work now: [image: Screenshot from 2021-01-26 22-56-01.png] (I put analog simulation on porta2 to move the paddle around, and left it running for a while).

  • Modified a comment on discussion Help on gpsim - The gnupic Simulator

    (formatting broke on that, resending) guint32 *p = (guint32 *)(data + (i*4 + y * stride)); if (line[i] >= 4) { *p = 0xFFcfcfff; } else if (line[i] > 2) { *p = 0xFF7fff7f; } else { *p = 0xFF082010; }

View All

Personal Data

Username:
paulrho
Joined:
2006-09-15 06:22:42

Projects

This is a list of open source software projects that Paul S is associated with:

  • ijk64   Last Updated:

Personal Tools