Search found 9 matches
- Thu Apr 28, 2022 11:25 pm
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Keyboard debounce and polling issues in MAME
- Replies: 8
- Views: 4140
Re: [+SC3000] Keyboard debounce and polling issues in MAME
Thank you for all the attention and hard work you've given to this one so far. It seems like a confluence of annoying factors at a pretty low level.
- Tue Apr 19, 2022 10:36 pm
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Keyboard debounce and polling issues in MAME
- Replies: 8
- Views: 4140
Re: [+SC3000] Keyboard debounce and polling issues in MAME
I do most of my development on a Mac, and I’ve gotten kind of used to the MAME debugger, so it would be nice to keep using MAME - everything else is Windows-only except for Meka whose Mac port is fragile. I’ve also just sent away to JLCPCB for a ROM cart PCB so I can try it on real hardware.
- Sat Apr 16, 2022 8:42 pm
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Keyboard debounce and polling issues in MAME
- Replies: 8
- Views: 4140
Re: [+SC3000] Keyboard debounce and polling issues in MAME
No rush whatsoever, I'm just playing with stuff right now – I haven't even designed the hardware yet so it will be a long time until I'll actually need this program.
The SMSPower "MEKA" emulator has the same problem as MAME, so I think Takeda may be the odd man out here.
The SMSPower "MEKA" emulator has the same problem as MAME, so I think Takeda may be the odd man out here.
- Thu Apr 14, 2022 12:24 am
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Keyboard debounce and polling issues in MAME
- Replies: 8
- Views: 4140
Re: [+SC3000] Keyboard debounce and polling issues in MAME
No major update, but for the sake of completeness, I've done a small debug test here, by setting MAME to hit a breakpoint whenever ioport $DC (KEY PA7..PA0) is being read and the value is not the default FF (i.e. some keys are pressed:) wpiset $dc,1,r,{(ib@dc) != $ff} This breakpoint only seems to g...
- Wed Apr 13, 2022 3:34 am
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Keyboard debounce and polling issues in MAME
- Replies: 8
- Views: 4140
[+SC3000] Keyboard debounce and polling issues in MAME
I've extended my problematic Hello World program with a call to scanf and ran into trouble almost immediately. I think I've boiled the problem down to the call to in_GetKey, which seems to return the wrong keys. Here's my test program: #include <stdio.h> #include <conio.h> #include <sys/ioctl.h> #in...
- Tue Apr 12, 2022 10:41 pm
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Printing text in tile mode
- Replies: 8
- Views: 4338
Re: [+SC3000] Printing text in tile mode
That worked, thanks. It took me a little bit to realize there was now a file called "hello.rom" produced from -create-app, but running that made it work properly in MAME!
I will upgrade to tomorrow's nightly when it comes out, thank you again for your swift help!
I will upgrade to tomorrow's nightly when it comes out, thank you again for your swift help!
- Tue Apr 12, 2022 7:37 pm
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Printing text in tile mode
- Replies: 8
- Views: 4338
Re: [+SC3000] Printing text in tile mode
Thanks for the quick fix, I know it can be hard to keep track of what in TMS9918 memory is where, especially if you're trying to do fast multiplication on a z80. I tried inserting an extra ZX-protocol line-feed like this: printf("%cHello World\n", 10); It made no difference on MAME, but on...
- Tue Apr 12, 2022 3:42 pm
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Printing text in tile mode
- Replies: 8
- Views: 4338
Re: [+SC3000] Printing text in tile mode
Unfortunately, I had no luck with the eSC-3000 emulator either - in fact, it seems to be even more (realistically?) broken, with the same garbage tile everywhere and no evidence of having text in the console at all. Will investigate a little further - do you have a known-good Hello World program I c...
- Tue Apr 12, 2022 4:15 am
- Forum: MSX, SVI, TMS99x8 and Sega Master System
- Topic: [+SC3000] Printing text in tile mode
- Replies: 8
- Views: 4338
Re: [+SC3000] Printing text in tile mode
Hi, I'm having a similar problem even after switching screen modes. Here is my program: #include <stdio.h> #include <conio.h> #include <sys/ioctl.h> void main() { // Setup textcolor(BLACK); textbackground(WHITE); int mode = 1; console_ioctl(IOCTL_GENCON_SET_MODE, &mode); // Actual program begins...