Learning how to build some UI things in assembly.

· · Web · 5 · 3 · 27

Each window holds a pointer to its own subroutine, it's not multi-tasking but it's something.

@neauoire as someone who uses hotdogstand theme on their instance, i was delighted by the "To Nereid" color scheme :)

@anreoh that resides at the most foundational level of the machine, should be fun to play with. I'm thinking, Head Over Heels as a reference to setting moods for different rooms using colors.

@neauoire will the system support images? how will the color scheme effect them?

@neauoire on what machine is this running? Looks like the output of an 8bit computer.

@ayron It's an 8-bits stack machine, uses something like forth at the asm level.

@neauoire Going to do co-operative multitasking maybe?

@neauoire it's how a lot of forths did it! really nice to use APIs, imo

@eris I'm not sure I know what that is. I was thinking, each update goes through each window's update routine, and the routine can test if it's active or not. I'm not sure how well that will scale tho.

@neauoire Co-operative multitasking is the idea of a queue and tasks! the kernel executes one task at a time. when the task finishes what it's doing, it hands off the control to the next task by 'wait'ing. if a task terminates rather than 'wait'ing, it gets removed from the queue. Once the kernel reaches the end of the queue, it starts from the beginning again!

@eris Oh I love that!! It's like the stack concept but used for queuing threads, I'll give it a shot, it makes a lot more sense in the current design than what I had in mind.

@neauoire I'm glad! It's the implementation used by a tooooon of Forths. It's also used by early windows and Macs and other OSes, but Forth did it best ;)

@eris @neauoire in general, most systems which don't use memory protection use one variant or another of it, a notable exception being the original amigaos

@allison @neauoire True! It's a good thing ;)

memory protection is a fuck

@neauoire @eris All the better, it means you don't have preconceptions going in
@neauoire @eris @allison

That’s like most people in most situations. Definitely more common than most think. ”Everyone else seems so sure of what they are doing but me.” :)
@neauoire in Be every top level window had its own thread :blobcatadorable:

@icedquinn that's good to know, that's what I'll try to do I think.

@neauoire That looks like the Nastazie Biblioteque in the age of sodium lamps

@neauoire Ooo, those colors make me think of that mobile game for a while back: Tomb of the Mask. It's a good palette!

@helveticablanc @neauoire I love the gameplay and artstyle of Tomb of the Mask, but I recall it being a bit annoying with ads and (at least back then) not having an option to buy the whole game and disable them. That kinda soured me on it.

There is a "clone" of it for Commodore 64, but it sadly adds more colors to the tiles, so the art style is a bit more busy, but the gameplay is there:

@neauoire Reminds me of the ZX spectrum, in a way. Although it's been a while since I saw one of those

@neauoire I remember that game on the C=64. I am also reminded of Firelord. Loved the music from that game!

Sign in to participate in the conversation

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.