Search found 1250 matches

by pixel
Tue Apr 16, 2024 9:58 am
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 1
Views: 29

Re: ASM502 - a new 6502 assembler.. (WIP)

You're right. There are enough assemblers nobody uses already. ;) I like it for being small and written in C. And the parsing part with expressions. What I do not like is that the code *looks* unstructured and could be readable better (after a treatment with dos2unix and "indent -kr -i4")....
by pixel
Tue Apr 16, 2024 6:01 am
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

The virtual console is a thing of surprising simplicity but the kernel isn't ready for it as the tests aren't thorough enough. That's why TUNIX is now a C program which suddenly decides to become a kernel. Jim Brain said that he'd bring on another stash of UltiMems, but to make them affordable about...
by pixel
Sat Apr 13, 2024 12:55 am
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

tunix-tasking.png
Now for messing this up with an interrupt handler..
by pixel
Tue Apr 09, 2024 10:12 am
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

tunix-breakerror.png It LOADs but OPEN brings random BASIC errors out of nowhere (STATUS = 0). That's an inconvenience for BASIC coders. Time for the console switcher unless you want to do switches like this: OPEN31,31,0,"GM" (multi-tasking off) OPEN31,31,0,"PF" (fork new BASIC ...
by pixel
Sun Apr 07, 2024 5:15 am
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

Syscalls (via OPEN) can be nested. That's great news. Task switches work in BASIC but there's still no working LOAD but many solutions to the problem. The required boot loader won't kill any existing boot menus. As that's extra work I started the ROM in C (copies itself to RAM on startup) the Unix w...
by pixel
Wed Apr 03, 2024 4:09 am
Forum: Games
Topic: In the making: Arukanoido – an Arkanoid clone
Replies: 600
Views: 150885

Re: In the making: Arukanoido – an Arkanoid clone

There was more than one price to pay for that and not worth the result yet.
by pixel
Wed Apr 03, 2024 4:04 am
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

I have added some lines of C code in a separate file so one can see what I mean by saying "simple". That's why C was invented. What is also kinda simple is the banking – simple on paper. Some seemingly pointless doodling fixes a lot in advance. Anyway, this is getting addictive. Am trying ...
by pixel
Thu Mar 28, 2024 2:18 pm
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

This is fun, especially with the latest VICE monitor update (build from source): vice-montior.png (I know your eyes are just having sex.) Instead of doing waiting lists for zombies implementing signals isn't much more complicated and the signal mechanism is a lot more versatile too. This needs some ...
by pixel
Thu Mar 28, 2024 5:26 am
Forum: Emulation and Cross Development
Topic: Assembler
Replies: 38
Views: 1930

Re: Assembler

beamrider wrote: Thu Mar 28, 2024 2:41 am Out of interest and as something I've never really used. What's the benefits of using a monitor rather than just going straight to an assembler and using the VICE monitor.
It makes you a tough boy by over-complicating about everything? Something remotely ca65 compatible I'd find interesting.
by pixel
Tue Mar 26, 2024 12:20 pm
Forum: Emulation and Cross Development
Topic: Assembler
Replies: 38
Views: 1930

Re: Assembler

I would start down at the metal. What's a transistor/gate. What does an adder look like. What's an ALU, data bus, address bus, control bus. Now that bits and bytes make sense, then I'd continue with assembly.
by pixel
Tue Mar 26, 2024 2:59 am
Forum: Emulation and Cross Development
Topic: Assembler
Replies: 38
Views: 1930

Re: Assembler

Any summary of this adventure? Somebody once asked me if I could teach him to programme. I asked "Do you know how a computer works?" "Yes! You grab the mouse *grab* and then you click here and here and…" It takes Harvard experience to teach adults like that.
by pixel
Mon Mar 25, 2024 12:22 pm
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

First boot. Meaning userland C coding. :mrgreen:
tunix-firstboot.png
by pixel
Sun Mar 24, 2024 5:26 pm
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

See the thread " Printing (unsigned) 16-bit numbers in Assembly, how? ". :wink: 8) Thanks! tnuix-with-numbers.png Oh impatience... This will take assigning LFNs to devices to make pipes. And a FIFO driver for inter-process communication perhaps. But sure as hell a RAM disk because sharing...
by pixel
Sun Mar 24, 2024 4:01 pm
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

tunix-zombie.png Now for chasing zombies… how did printing decimals work again? In the operating system's choreography, a process doesn't simply terminate and vanish. Instead, it lingers due to a critical relationship with its creator: the parent process. The parent may opt to inspect the exit code...
by pixel
Sat Mar 23, 2024 4:23 am
Forum: Programming
Topic: Unixoid VIC
Replies: 20
Views: 1264

Re: Unixoid VIC

That is actually the job of CLRCHN . Just the regular dumbing down before enlightenment hits. You're right. Thanks! The idea of just dropping the channels wasn't too appealing, so TUNIX closes every file with CLALL. I'm thinking maybe it's a good idea if processes get (and thus inherit) their own d...