Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Lawrie Griffiths
    @lawrie
    Looks much more like the real thing, in colour :)
    emard
    @emard
    :))) seems better, still I'm trying to use only basic vt100 sequences that most should support
    Paul Ruiz
    @pnru_gitlab

    There are now lots of system calls implemented, but they don't currently all have the wrappers that they need. For example, there is pselect6 and ppoll, but not select and poll wrappers.

    @lawrie the wrapper for select() seems to be fairly straightforward:
    https://github.com/brgl/uclibc-ng/blob/master/libc/sysdeps/linux/common/select.c
    It is a matter of normalising the timeout & adding a zero at the end of the parameter list.

    emard
    @emard
    TETRIS full color support (with vt100 scroll contols)... I hope it doesn't have bugs
    Lawrie Griffiths
    @lawrie
    A platform isn't complete until Tetris is running on it.
    emard
    @emard
    To support full color it's scrolling at the screen and bitmap is only internall kept for game logic.It had bugs at scrolling (looks like empty line where blocks should "fall" from above when lines are complete). I fixed and played 1 game and see no bugs, but more testing is needed :)
    I tried, bug is still there :(
    Screen first scrolls content down when lines fall, but accidentaly scrolls up and spoils the content... I don't know why. It's the same on PC linux, not just saxonsoc related
    Lawrie Griffiths
    @lawrie
    I see the score line repeated.
    emard
    @emard
    That is "ok", comes from hardware scrolling of complete screen. Should be fixed easly later
    bug looks like vt100 region-scroll doesn't work sometimes... hmmm
    Lawrie Griffiths
    @lawrie
    Also I can't rotate sometimes when at the side of the screen.
    emard
    @emard
    This is problem because rotation center is set wrong. They use some bitwise black magic to rotate piece bitmap in 4 bytes of RAM
    emard
    @emard
    @lawrie I fixed rotation center and added bot directions with keys 'k'-ccw and i-cw
    Erik Piehl
    @Speccery
    Got today my 2nd ULX3S from crowdsource campaign! Have to love that packing :)
    Goran Mahovlic
    @goran-mahovlic
    @Speccery I must say it was not so easy to pack 1000 boxes, but it was done with special care :)
    Erik Piehl
    @Speccery
    @goran-mahovlic thank you very much for the effort! 🙏
    Goran Mahovlic
    @goran-mahovlic
    It was my pleasure!
    cutting and pasting each stripe :)
    Erik Piehl
    @Speccery
    :) Yes and the result is just a beauty!
    By the way, I recently designed a built a bunch of ESP32 boards. I needed an UART for those designs, and I went with the FT231XS thanks to the ULX3S. Works like a charm. Lot of hand soldering :) in that project for me.
    kost
    @kost
    emard
    @emard
    @Speccery glad you liked ft231x design! I have long time not checked your ti99/4a, did you get sdram working?
    Erik Piehl
    @Speccery
    @emard well not that I got the 2nd ULX3S I am trying to get back to the project. So unfortunately I haven't been working on this recently, but will work on it now.
    emard
    @emard
    @kost thanx for the fresh tools! fujprog -t works but fujprog -t -P/dev/ttyUSB0 for me doesnt work. ujprog works with -t and with -t -P..
    @Speccery have some fun with new board, it has 16MB flash in ESP32.
    Erik Piehl
    @Speccery
    @emard thanks I will for sure. Was it so that the SDRAM here is different from the earlier board? Will it work the same way?
    emard
    @emard
    @Speccery SDRAM is ISSI speed grade 7 (spec'd as 133 MHz 2-2-2 ras/cas ws). On new boards ti is different than other boards but should be pin and protocol compatible. Small differences in timings are normally possible so we must test.
    This SDRAM has passed self-test and booting saxonsoc as Goran/Dobricas standard test procedure for all boards before shipping
    kost
    @kost
    @emard will investigate. thanks for reporting.
    opened issue here: kost/fujprog#9
    if you have anything else to add to help debug it - please do!
    Paul Ruiz
    @pnru_gitlab
    @emard I read that as: (i) clock speed can be 133MHz; and (ii) tRCD = 2 clocks, tCAS = 2 clocks and write latency is 2 clocks. If I read that correctly (i.e. tRCD = 15ns, etc.) it is a seriously fast grade 7 chip.
    emard
    @emard
    @kost nothing special with old compiled ujprog -t -p/dev/ttyUSB0 it works as terminal for e.g. esp32 or linux. Same ujprog newly compiled doesn't work, also fujprog doesn't work I guess someting in build env changed
    Erik Piehl
    @Speccery
    @pnru_gitlab now that you're here, let me ask you a quick question. For better or worse I upgraded to macOS Catalina, and now I'm having difficulties with ujprog. I think you used a Mac too - is this working for you? Sorry for such a simple question, I have too many computers and sometimes I don't remember which system I used the last time anymore...
    emard
    @emard
    @pnru_gitlab yes, and also memtest passes overclock up to 175-180 MHz 2-2-2 ras/cas :). The small drawback is chip heats more its 160mA chip while of course 110mA exist but at the time of assembly were expensive
    @Speccery there is also openFPGALoader that can do the same as fujprog and available as binary nightly-compiled here https://github.com/open-tool-forge/fpga-toolchain/releases
    Paul Ruiz
    @pnru_gitlab
    @Speccery I moved from ujprog to fujprog, which is the same code base, but maintained by a new crew. I can test on a Catalina machine if you like.
    Erik Piehl
    @Speccery
    Thanks to you both. Actually both ujprog and openFPGALoader complain about access to FTDI drivers
    emard
    @emard
    The resort can also be ESP32, it should already be loaded with micropython and ecp5.py. With serial console you can set ESP32 wifi password to connect to your router and then you can program FPGA over wifi using ftp.
    Paul Ruiz
    @pnru_gitlab
    Maybe MacOS went back to blocking unpriviledged access. Did you try using with sudo?
    Erik Piehl
    @Speccery
    Yes I did use sudo. And MacOS always wants to block everything, but I did change the security settings. Oh well. I am not going to debug this now, already switching to my windows box.
    Paul Ruiz
    @pnru_gitlab
    Recent MacOS does not ship with ftp by default. Available via brew
    Paul Ruiz
    @pnru_gitlab
    @emard re: sdram - that is excellent news, a 5-6 clock cycle for random access @ 175MHz means getting a 32 bit word within 40ns, using a 2-word burst read.
    Erik Piehl
    @Speccery
    Weird. When I use my older ULX3S board, I can program it on the Mac under Catalina, just by using old ujprog. It does need sudo. @pnru_gitlab fujprog does not work for me. Even if I run it with sudo, it says:
    Eriks-MacBook-Pro:build perik$ sudo ./fujprog
    ULX2S / ULX3S JTAG programmer v4.6 (git 504fb69 built Oct 6 2020 20:37:35)
    Copyright (C) Marko Zec, EMARD, gojimmypi, kost and contributors
    no root permissions, not handling kexts
    Cannot find JTAG cable.
    So currently with the freshly compiled fujprog I can't program even the old board. I wonder how it detects root permissions, which I think are necessary on the Mac.
    Goran Mahovlic
    @goran-mahovlic
    ujprog will not recognise new 3.0.8 version
    you need to change board version
    to 3.0.3 as ujprog is old and not supported
    You can first check what your old board is reporting as version