Search found 22 matches

by GryBsh
Sun Feb 11, 2024 7:46 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

Well, it might be a sledgehammer, but it does work.
I can get a ticking clock AND lockup free transfers at the same time.
Many thanks :)
by GryBsh
Sat Feb 10, 2024 10:51 am
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

So in experimenting, it looks like the random hangs in the NABU launcher appear to be it hitting some kind of interrupt in the middle of the transfer. I could reproduce the same type of failure when I added a working clock to the menu and the transfer would slam into the raster interrupt. Any advice...
by GryBsh
Sat Dec 16, 2023 10:23 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

Thinking joystick() is 0 indexed is my problem :lol:
Thanks!
by GryBsh
Sat Dec 16, 2023 6:53 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

After a weeklong conference and catching up afterwards, I've gotten back to this.
I have pulled and built the latest source about half an hour ago, and I still need to change the input on the launcher to Joystick 1 to get input from what should be Joystick 0. 🤷
by GryBsh
Sat Dec 02, 2023 9:08 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

I've tried the last 2 nighlies, and I can see your change in the libsrc folder, but the behavior persists. :(
by GryBsh
Thu Nov 30, 2023 11:58 am
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

You're a legend. Thanks! Even after generously expanding the buffers it still locks up from time to time, always when waiting to read data. Not sure what thats about. But it's working well enough that my Launcher menu is now shipping with NNS. Also, Joystick 0 inputs are coming in as Joystick 1. Not...
by GryBsh
Tue Nov 21, 2023 12:28 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

Well, I've hit another odd one. if we take this slightly modified version of the test code I posted before #include <stdlib.h> #include <stdio.h> #include <video/tms99x8.h> #include <arch/nabu/hcca.h> #define byte uint8_t #define uint uint32_t #define ushort uint16_t struct Menu { byte count; byte p...
by GryBsh
Fri Nov 17, 2023 9:51 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

You already don't need to stick to that name. If you make a `NABUs` folder in with the NNS binary (in the prebuilt zips there is an empty one), you can name you .nabu file whatever you like: Screenshot 2023-11-17 162849.png Screenshot 2023-11-17 163046.png I think the NABU.ca adapter was fussy about...
by GryBsh
Fri Nov 17, 2023 1:46 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

I think I have reproduced the state I was in earlier of the hcca just returning 0 with -compiler=sdcc, which was used in the menu code I started from.
And here is the map and bin.
000001.7z
by GryBsh
Thu Nov 16, 2023 11:23 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

:lol: You're gonna love this....
So I fix that typo....
Screenshot 2023-11-16 181631.png
Thanks for all your help :)
by GryBsh
Thu Nov 16, 2023 9:49 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

Here is a standalone example. I am not trying to print length values or anything that might cause weirdness, yet I get weirdness. =( #include <stdlib.h> #include <stdio.h> #include <arch/nabu/hcca.h> #define byte uint8_t #define uint uint32_t #define ushort uint16_t struct Menu { byte count; byte pa...
by GryBsh
Thu Nov 16, 2023 2:34 am
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

:lol: And of course, now, after downloading the nightly then trying to build, I can't reproduce it. Its working just fine now. This is like when someone at work wants to show me something isn't working, and just by me looking at it, it starts working again. I'm only mildly peeved because while I did...
by GryBsh
Wed Nov 15, 2023 9:38 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

Having it in WSL is workable, but since the easiest thing to believe is that I'm just doing it wrong: I'm curious how I boned this up :) I'll post that later. As to the number of bytes received, since I have that info handy, it should be 139 bytes: <7>Nabu.Network.NabuNetworkCom.MenuProtocol[0] 127....
by GryBsh
Wed Nov 15, 2023 4:42 am
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

So, for whatever reason, this is not working for me at all on Windows with the nightly builds, whatever I build comes out weird and buggy. I cloned and built z88dk from source on WSL and I can build your sample program and get the 139 bytes I expect. Now, when I try to output those bytes as the asci...
by GryBsh
Tue Nov 14, 2023 9:41 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

I've been using the 0.250 80 column MAME from here: https://gtamp.com/nabu/,
Ya the unknown FF's mean the HCCA in MAME is sending junk, and I'm wondering if this might be a MAME issue. I'll have to get my NABU in here from the other room and try it on real hardware.
by GryBsh
Tue Nov 14, 2023 2:43 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

I expect no one to remember everything and I am a big fan of Mr. Masto's fine work on nabu.run. :) https://github.com/GryBsh/NabuNetworkEmulator/tree/headless-1 That contains the code that will answer 0x30 :) You should get back the names of the top-level source list items. This is for a modified ve...
by GryBsh
Mon Nov 13, 2023 12:44 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

I'm NNS not nabu.run, and yes, it is something I implemented in it. I'll get my latest code up in a branch so you can debug with it at some point today.
I was also surprised that not only did it not work, but that I got a 0. What I should be getting is 139
by GryBsh
Sun Nov 12, 2023 3:32 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

void main() { _init; while (true) { struct Menu *menu = malloc(sizeof(struct Menu)); _VDP_CLEARSCREEN(); _VDP_SETLINE(0); hcca_reset_write(); hcca_start_read(HCCA_MODE_RB, NULL, 0); hcca_writeByte(0x30); hcca_writeByte(0); hcca_writeByte(0); hcca_start_write(HCCA_MODE_BLOCK, NULL, 0); ushort length...
by GryBsh
Sun Nov 12, 2023 10:44 am
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

Following a bit of testing, it looks like the issues we experienced with the floppy based CP/M are resolved in Cloud CP/M. As a result I've rearranged the libraries a little. The interrupt code has been separated out into a separate nabu_int.lib. This is used by default for the +nabu target since w...
by GryBsh
Mon Jan 02, 2023 5:34 am
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

oooooooh! Geez - Mono was the world's last hope at cross platform GUI. Ugh... don't get me started on Avalonia Anyway - looks like GryBsh's command-line will work for ya. Guess I can build a dotnet cli of mine but Gry's got it covered :D I'm about half way through a cross platform dotnet GUI app ;)
by GryBsh
Sun Jan 01, 2023 7:43 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

Making NabuRoot absolute fixed the problem, so I'm guessing there's something wrong around about here: https://github.com/GryBsh/NabuNetworkEmulator/blob/b569be11f627bf3287b5294f02bc0d2d742b4b88/NabuAdaptorEmulator/Network/NetworkSimulator.cs#L137 Because if I am going to make a mistake, it's going...
by GryBsh
Sun Jan 01, 2023 1:13 pm
Forum: Other targets
Topic: NABU Computer Support
Replies: 94
Views: 556027

Re: NABU Computer Support

The primary compilation example on the wiki is for the homebrew target. Unfortunately, I've got absolutely no way of testing it because I can't run the IA. However, the code is shared between CP/M and home-brew so it should work assuming the setup is good. There are several other Adaptor emulators/...