tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by Vertigo #$FF (vertigo@hackers.town)

  1. Vertigo #$FF (vertigo@hackers.town)'s status on Saturday, 22-Apr-2023 21:25:33 CEST Vertigo #$FF Vertigo #$FF
    • requiem ✌️
    • Studio 8502 :verified:

    @requiem I'm assuming you're rewriting the pvm interpreter in C?

    Also, for the 8-bit targets, there are several options I think. For the 6502, there is cc65 or Calypsi, which @mos_8502 brought to my attention recently. For Z80, some traffic on the RC2014 mailing list indicates people have gotten the CP/M HiTech C compiler working. Its dialect predates C89 though, IIRC.

    In conversation Saturday, 22-Apr-2023 21:25:33 CEST from hackers.town permalink
  2. Vertigo #$FF (vertigo@hackers.town)'s status on Tuesday, 07-Jun-2022 10:14:05 CEST Vertigo #$FF Vertigo #$FF
    in reply to
    • Devine Lu Ator
    • Kartik Agaram
    • zbs

    @akkartik @neauoire @z OMG, that is the most cursed Python repository I've ever seen.

    In conversation Tuesday, 07-Jun-2022 10:14:05 CEST from hackers.town permalink
  3. Vertigo #$FF (vertigo@hackers.town)'s status on Friday, 20-May-2022 11:57:27 CEST Vertigo #$FF Vertigo #$FF
    in reply to
    • Ekaitz Zárraga 👹
    • Kototama

    @kototama @ekaitz_zarraga C is a lot more complex than Forth or Lisp. In the amount of space you invest in just the C lexer and parser alone, you can fit an entire Forth compiler capable of reaching within a factor of 10 performance of native, optimized C.

    In conversation Friday, 20-May-2022 11:57:27 CEST from hackers.town permalink
  4. Vertigo #$FF (vertigo@hackers.town)'s status on Thursday, 13-Jan-2022 20:46:25 CET Vertigo #$FF Vertigo #$FF

    The only reason I don't want to run a server at home is because (1) everybody else in the market has literally made it impossible to do without spending unacceptable amounts of time administering resources, and (2) spammers/script-kiddies who find exploits in every little fucking nook and crannie.

    I actually DO want to self-host all of my resources. I just don't want to spend a career's worth of talent (especially at my age) doing it.

    In conversation Thursday, 13-Jan-2022 20:46:25 CET from hackers.town permalink
  5. Vertigo #$FF (vertigo@hackers.town)'s status on Sunday, 15-Aug-2021 10:49:29 CEST Vertigo #$FF Vertigo #$FF

    Home-made semiconductor fabrication techniques are getting more sophisticated. From the hacker who put 6 transistors on a chip in an amplifier configuration, behold, one thousand two hundred transistors.

    https://www.youtube.com/watch?v=IS5ycm7VfXg

    (Admittedly, not configured as anything in particular yet, but the work is getting there. He's already half-way to an Intel 4004. I'm willing to bet that you can make a viable CPU with 1200 transistors if it used a bit-serial micro-architecture.)

    Blog article is here: http://sam.zeloof.xyz/second-ic/

    In conversation Sunday, 15-Aug-2021 10:49:29 CEST from hackers.town permalink

    Attachments

    1. Second IC :)
      from szeloof
  6. Vertigo #$FF (vertigo@hackers.town)'s status on Sunday, 15-Aug-2021 10:49:27 CEST Vertigo #$FF Vertigo #$FF
    in reply to
    • theruran 🌐🏴

    @theruran Yup. Remember all the nay-sayers saying this wasn't going to be possible? Because, I sure do.

    The equipment that he's using is not exactly the kind of thing you'd find at Home Depot though. He's got a fair bit of cash invested in his garage fab. Still, making chips at home. That's ... downright awesome.

    In conversation Sunday, 15-Aug-2021 10:49:27 CEST from hackers.town permalink
  7. Vertigo #$FF (vertigo@hackers.town)'s status on Monday, 09-Aug-2021 22:50:16 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga Implementing a singleton?

    In conversation Monday, 09-Aug-2021 22:50:16 CEST from hackers.town permalink
  8. Vertigo #$FF (vertigo@hackers.town)'s status on Saturday, 17-Jul-2021 17:41:02 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga If this happened, I'll have missed the stream. Will it be recorded? I'd love to watch the video afterwards.

    In conversation Saturday, 17-Jul-2021 17:41:02 CEST from hackers.town permalink
  9. Vertigo #$FF (vertigo@hackers.town)'s status on Monday, 28-Jun-2021 23:29:25 CEST Vertigo #$FF Vertigo #$FF

    I'd much rather be streaming me coding in Z80 assembly language right about now. Sigh.

    In conversation Monday, 28-Jun-2021 23:29:25 CEST from hackers.town permalink
  10. Vertigo #$FF (vertigo@hackers.town)'s status on Monday, 28-Jun-2021 23:29:24 CEST Vertigo #$FF Vertigo #$FF
    in reply to

    Always known that commercial FPGA/ASIC developer tools are, well, shit. Like, this stuff is irreparably bad.

    But, the extent to which Synopsis and Cadence tools suck can best be summarized as threatening to civilization itself. The time dilation engineers go through when working with these pieces of shit is so extensive that they'd make ideal case studies for black hole research.

    "Oh, I'll just get this design working on the simulation environment, and, holy shit, it's already next week! What the fuck just happened?!"

    I haven't even finished this week out, and I'm already so fucking done working with this bullshit.

    I really wish I had the economic freedom to demand, "Give me Yosys and Verilator, or give me a pink slip."

    In conversation Monday, 28-Jun-2021 23:29:24 CEST from hackers.town permalink
  11. Vertigo #$FF (vertigo@hackers.town)'s status on Monday, 28-Jun-2021 19:15:35 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga Concerning long literals, what I've done in the past is to maintain two buffers, one for constants, and one for code. When emitting the code, I'd then spit out both buffers, one after the other (order doesn't usually matter). That way, a single AUIPC can be used and constants can be referenced using larger offsets.

    One thing to make sure of though: make sure your constants are 64-bit aligned. I didn't see reference to this in your article. I know that RV64GC Linux ABI supports non-aligned references, but not all RISC-V environments do.

    In conversation Monday, 28-Jun-2021 19:15:35 CEST from hackers.town permalink
  12. Vertigo #$FF (vertigo@hackers.town)'s status on Saturday, 12-Jun-2021 10:32:41 CEST Vertigo #$FF Vertigo #$FF

    #riscv RISC-V bit manipulation extensions are finally public and are open for public comment.

    https://github.com/riscv/riscv-bitmanip/releases/tag/1.0.0

    In conversation Saturday, 12-Jun-2021 10:32:41 CEST from hackers.town permalink
  13. Vertigo #$FF (vertigo@hackers.town)'s status on Wednesday, 05-May-2021 23:42:29 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga OMG.

    OMG. Are you ready for this?

    I can't stop laughing at this. I goofed hard.

    The AUIPC instruction adds the value 0x28000+PC of the instruction, which in this case, happens to be at address 0x00008. So, A2 is loaded with 0x280008.

    So the ADDI A2,A2,-8 instruction adjusts that to point A2 back at the desired value.

    I'm still baffled why it didn't just use LUI in that case, but it at least does arrive at the right answer. It had me confused since this morning.

    In conversation Wednesday, 05-May-2021 23:42:29 CEST from hackers.town permalink
  14. Vertigo #$FF (vertigo@hackers.town)'s status on Wednesday, 05-May-2021 22:40:31 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga

    la a2,_PGM_START # = 0x28000

    should expand to:

    auipc a2,0x28

    Instead, it expands to:

    auipc a2,0x28addi a2,a2,-8

    That's the wrong address. If this code is executed, the copy loop will use the wrong target address (it'll be off by 8 bytes in this case).

    In conversation Wednesday, 05-May-2021 22:40:31 CEST from hackers.town permalink
  15. Vertigo #$FF (vertigo@hackers.town)'s status on Wednesday, 05-May-2021 22:36:13 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga So, here's the thing.

    If I come up with a simpler example, the bias changes. Or the linker does something different altogether. This is a bug which seems extremely sensitive to input conditions.

    Here's a more complete replica of the code:

    .text.globl _start.extern _IMG_START.extern _IMG_END.extern _PGM_START.type _start,@function_start: la a0,_IMG_START la a1,_IMG_END la a2,_PGM_START1: lw a4,0(a0) sw a4,0(a2) addi a0,a0,4 addi a2,a2,4 bne a0,a1,1b j _PGM_START.size _start, .-_start
    In conversation Wednesday, 05-May-2021 22:36:13 CEST from hackers.town permalink
  16. Vertigo #$FF (vertigo@hackers.town)'s status on Wednesday, 05-May-2021 22:19:52 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga Sorry; that needs to be auipc, not ld.

    In conversation Wednesday, 05-May-2021 22:19:52 CEST from hackers.town permalink
  17. Vertigo #$FF (vertigo@hackers.town)'s status on Wednesday, 05-May-2021 22:18:34 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga If you pass -march=rv32i it will assemble for RV32. There are similar flags for ld.

    In conversation Wednesday, 05-May-2021 22:18:34 CEST from hackers.town permalink
  18. Vertigo #$FF (vertigo@hackers.town)'s status on Wednesday, 05-May-2021 22:15:22 CEST Vertigo #$FF Vertigo #$FF
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga I'm relocating a chunk of ROM code into RAM (think, memcpy(rom_start, 0x28000, 0x8000) in C). It's a 32-bit processor, so no double-words. But, even if I just comment out the copy loop, the -8 bias remains. It makes no sense.

    In conversation Wednesday, 05-May-2021 22:15:22 CEST from hackers.town permalink
  19. Vertigo #$FF (vertigo@hackers.town)'s status on Wednesday, 05-May-2021 22:01:16 CEST Vertigo #$FF Vertigo #$FF

    Calling all RISC-V developers using the GNU toolchain.

    I have some code like this in a foo.S file:

    .extern PGM_START # ...etc... la a2,PGM_START

    In the sections.lds linker script (passed via the riscv64-unknown-elf-ld -T flag), PGM_START is set to an address:

    PGM_START = 0x28000;

    When I assemble foo.S, I see it is expanded to something like this:

    ld a2,0x28 addi a2,a2,-8

    Where is this -8 offset coming from? This appears to be a failure of GNU ld to apply a relaxation. Except for manually replacing la with auipc, how can I convince ld that there is no -8 bias to that symbol?

    Boosts welcome. I'm desparate at this point.

    In conversation Wednesday, 05-May-2021 22:01:16 CEST from hackers.town permalink
  20. Vertigo #$FF (vertigo@hackers.town)'s status on Saturday, 03-Apr-2021 22:48:06 CEST Vertigo #$FF Vertigo #$FF

    Even text files are unsafe. Text files!

    https://www.paulosyibelo.com/2021/04/this-man-thought-opening-txt-file-is.html

    In conversation Saturday, 03-Apr-2021 22:48:06 CEST from hackers.town permalink

User actions

    Vertigo #$FF

    Vertigo #$FF

    HW: #KestrelComputerProject #Kestrel3 #vdc2 #vdcII #fpga.SW: #Forth, Common #Lisp, #Python, #Asm, #APL, #J.Creator of Ascetic Programming style, and the VIBE screen editor. My code likely runs on your harddrives.#nobot

    Tags
    • (None)
    ActivityPub
    Remote Profile

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          4137
          Member since
          3 Apr 2021
          Notices
          20
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.