home.social

#subsky — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #subsky, aggregated by home.social.

fetched live
  1. This software I'm making is pretty abstract... I think this particular task qualifies as kernel development ..?

    I'm adding support for my object-capability model to my computing environment. I plan to [re-]port my emulator Sbse to UEFI.

  2. RE: fosstodon.org/@golemwire/11507

    I'm starting a Fluxer (Discord alternative) group for my computing environment :D

    Invite link: fluxer.gg/I2P03SBv

  3. @kabel42 @rl_dane uses a bottom-left origin ;)
    My rationale is that it is more reasonable for a coordinate to *increase* while going *up* rather than for it to *decrease* while going *up*.

    Also the math world does it that way (though they also have cursed standards for rotation/orientation.)

  4. Worked on the stdlib for , in the reverse-stack branch. Had to rewrite memcpy, since my prior implementation of it did a trick with the stack to copy using less instructions; this trick is no longer viable, as moving the stack pointer can make memory become undefined now (thanks to the improved stack cache rules in the ISA spec).

    Made a new memzero function. It's like POSIX memset, but just for zeroing.

  5. tip: if you want to allocate memory and explicitly tell the kernel you don't want the memory backed until you use it, try mmap(). Really useful.

    An example of mmap being used this way. gitlab.com/golemwire/subsky/-/ (permalink gitlab.com/golemwire/subsky/-/ )
    This is from my emulator.

    (p_cpu->p_memory = (uint8_t *) mmap(NULL, (size_t) 1 << 32, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0))

  6. I reversed the stack direction in my and VM. The original stack order had pushes go towards the high end; the current direction has pushes go towards the low end (like and many other architectures*). It simplified a number of things, such as accessing variables in the stack frame ("lvalues" are now positive and start at 0 rather than -4 [the word size is 32 bits] ). The heap structuring will be easier to do now, as well.

    gitlab.com/golemwire/subsky/-/

  7. I added a Who This is For section to the README of my personal computing environment project, :) gitlab.com/golemwire/subsky#wh

  8. I created a logo/banner(?) for my computing system :D ( gitlab.com/golemwire/subsky )

    I need to get back to schoolwork

  9. I created a syntax highlighting config for my programming language Slang, for GNOME 's GTKSourceView :D

    This will make working on my videogame much more comfortable I think 😊

    gitlab.com/golemwire/subsky/-/ (XML warning)

    (an @rl_dane hashtag lol. I had changed the DPI in so I could capture larger screenshots, and I think my NVidia driver might be breaking the Wayland xdg-output protocol, so its scaled funny)

  10. Introducing SubSky, a new 32-bit CPU and computing environment intending to be the most amount of power you can get from the least amount of computer.

    It provides you with a virtual with 16 instructions (few but versatile!), and a novel low-level between C and called Slang.

    The project supplies a small set of virtual peripherals and a minimal yet useful stdlib.

    Check it out!

    gitlab.com/golemwire/subsky

  11. The alpha version of has been released. I'll announce it (properly) tomorrow [that is, today].
    I definitely need to go to bed now, though.

  12. I'm figuring out the ASCII codes to use for the arrow keys for my system.

  13. project update: some organizing of device IDs, more work on the now extensive README.
    I will likely have the beta release out later this week, rather than today. I'm pretty excited.

  14. Saw someone's project. I can only hold off sharing for so long. Feels like now or never.

    Working on for now through tonight. I might have a beta release by morning. Wish me luck. <3

  15. If anyone is interested, let me know, and I'll take a temporary break from the videogame project and publish #SubSky online. #ISA #programmingLanguage #programming #UXN #lowTech

  16. It is written in a programming language I made, called Slang. I had to write the compiler for it, and I have my own stdlib and emulator to run the compiled code.
    I am quite happy so far; it's a bit of a dream.

    #SubSky #CPU #ISA