FRS' MSX page WIP

Page 7/8
1 | 2 | 3 | 4 | 5 | 6 | | 8

By sd_snatcher

Prophet (3032)

sd_snatcher's picture

28-04-2019, 21:53

Bonus image: I also remade the Gradius-1 intro screen for the MSX2 back then: Smile

(all these images will also be part of my the next Pixel Art Collection I'll release)

By sd_snatcher

Prophet (3032)

sd_snatcher's picture

29-04-2019, 00:03

And one announcement some people have been requesting for some time:

HIDTEST v3.0

Changed the "Joystick Tester" name to HID tester (Joytest and HIDtest, for short, respectively), since it now tests much more human interface devices than just joysticks. Analogously, joylib is now a subset of HIDlib.

Change log:

  • A huge overhaul of the code, with many optimizations and bug fixes
  • Created the backbone in HIDlib to support analog controllers
  • Added support for the following devices:
    • PWM protocol devices, including recognition and specific button/axis decoding of the following controllers:
      • MSX-Paddle, with up to 5 digital buttons
      • IBM-PC DA15 analog joystick, via adapter
      • Atari 2600's dual-paddles, via adapter
    • Arkanoid Vaus paddle
    • Sega Saturn digital joypad
    • Sega Saturn analog joypad (AKA 3D-pad)
    • Micomsoft XE-1AJ / XE-1AP and Sharp Cyberstick
    • Better light gun hit detection. It's now very hard to trick it and pass a false hit consistently. Also, the light gun disconnection is handled much quicker now.
    • Added support to handle two light pen ports
    • Fixed bugs in the detection of devices connected to the Megadrive multi-tap
    • When no devices are connected to the multi-tap, the screen now shows a reminder that only Megadrive controllers can be connected to the multi-tap.
  • The source code of HIDtest and HIDlib was finally released. I hope this helps MSX programmers to easily code software with auto-detection and support many more unusual HID devices.

    The binaries and sources can be downloaded at this page.

By sd_snatcher

Prophet (3032)

sd_snatcher's picture

30-04-2019, 00:07

Just a small release today, complementary to the HIDtest/HIDlib sources.

MSX constants (EQUs) for assembly development

This is a convenient set of source code files with EQU-declared constants for nearly all variables, constants and functions of the MSX BIOS/DOS ecosystem. It's meant to be used as INCLUDEs in sjasm-plus or any other assembly that support this directive. The following files are provided:

  • MSX-DiskBIOS.equ.z80
  • MSX-DOS.equ.z80
  • MSX-Music.equ.z80
  • MSX-RS232C.equ.z80
  • MSXBIOS.equ.z80
  • MSXextBIOS.equ.z80
  • MSXhooks.equ.z80
  • MSXSubROM.equ.z80
  • MSXvars.equ.z80

By alexito

Hero (522)

alexito's picture

30-04-2019, 00:42

Thanks, sd_snatcher.
I give a try when I got some spare time I remember owning an Arkanoid Paddle, Micomsoft XE-1AP and Sharp Cyberstick.

By sd_snatcher

Prophet (3032)

sd_snatcher's picture

02-05-2019, 03:33

Another announcement: Finally, a new version of the MSX-Audio BIOS, the v1.3b. This is the Change Log:

  • Small optimisations on RCA_VOICE
  • Added an extension function table to the MSX-Music FM-BIOS jump table, at 4128h. This makes life a lot easier to use the PSG emulation for MSX-Music applications.
  • Fixed a bug in INIOPL that caused the machine to freeze if the game interrupt handler was located on frame-2
  • Fixed a bug that caused the ADPCM playback to be muted on the NMS-1205

With this new version, the recently released Mon Mon Monster patch will be able to use the PSG to OPL emulation on OPL3 and OPL4.

Of course the emulation of a PSG chip on OPL isn't perfect, but you can check its quality by using Mon Mon Monster in two ways:

1) OPL soundtrack and PSG effects: If your machine has an internal MSX-Music, you'll need to boot the game holding the 'M' key pressed, to force the MSX-Music to be ignored. In this mode, the both the OPLL and the PSG will be redirected to the OPL3/4.

2) PSG soundtrack and effects: Boot the game while holding both the 'O' key. This will force the PSG soundtrack to be played, while keeping the MSX-Audio BIOS active. This means the PSG soundtrack and sfx will be entirely played on the OPL3 emulation.

  • Note1: In both cases you need to connect an OPL3/OPL4 cartridge that has the BIOS
  • Note2: I recommend to also hold the 'R' key on boot, so the cheat is enabled and you can press F1 to easily skip the stages. Press STOP to pause the game, so you can hear the song being player without being annoyed by the enemies.
  • Note3: With the stereo version of the BIOS, the PSG emulation will be on stereo too. The stereo separation follows the Yamaha/Pioneer standard.

I really would like some constructive feedback on what do you think about the PSG on OPL emulator.

On a personal note, I really like the fact that on the MSX you can do this kind of translation entirely on the own MSX. It's the only computer of the 80s that allow this kind of thing, isn't it? Smile

By sd_snatcher

Prophet (3032)

sd_snatcher's picture

03-05-2019, 03:38

And now, one announcement some people have been anxiously waiting for. It's the MSX Pixel Art Collection Vol.3.

This collection of pixel art is also intended to preserve the vast diversity of images that were published for the MSX system in all its generations. It's a follow-up of the Vol.1, and contains nearly 1000 new files, both original MSX drawings and rearranged art, in specific folders.

It also includes images from the very rare CG-Guide Vol.1 Magazine, that had images from many famous MSX Pixel Artists of that time.

Here are some sample images from this collection:

Screen-2:



Screen-5:













Screen-6:

Screen-7:










Screen-8:

You can download the collection at this page.

By Grauw

Ascended (8317)

Grauw's picture

03-05-2019, 16:06

Looks very awesome, FRS!

You’ve stocked up on so many things that you’re now releasing one after the other in a giant deluge of releases… It’s hard to take it all in!

I’m definitely going to look at the HIDTEST sources at some point. Two questions: will you consider uploading the sources to Bitbucket or Github? Makes for easy code browsing. Secondly the code seems to be (L?)GPL 3.0 licensed, meaning I can’t copy/paste even small snippets into my code, so it’s only usable for study (still good of course). Would you consider changing it to the more liberal BSD or MIT license?

(The EQUs zip archive doesn’t contain a license btw.)

And those pixel art collection vol. 3 pictures are looking niiiice!

By sd_snatcher

Prophet (3032)

sd_snatcher's picture

04-05-2019, 02:07

Grauw wrote:

Looks very awesome, FRS!

You’ve stocked up on so many things that you’re now releasing one after the other in a giant deluge of releases… It’s hard to take it all in!

Yeah, I know it's not ideal, but it was either that or nothing. I don't know when I'll be able to find another window to release things again.

Quote:

I’m definitely going to look at the HIDTEST sources at some point. Two questions: will you consider uploading the sources to Bitbucket or Github? Makes for easy code browsing.

I thought about that, and I agree that it would be the best approach, but IMHO it also implies that I would be responsible to maintain the project, answer to bug reports, etc. And, sadly, this is out of my reach for the moment.

Quote:

Secondly the code seems to be (L?)GPL 3.0 licensed, meaning I can’t copy/paste even small snippets into my code, so it’s only usable for study (still good of course). Would you consider changing it to the more liberal BSD or MIT license?

Only HIDlib is LGPL. The idea is that it should be used as a library, without having to copy code. I was careful to use the IFUSED compiler directives, so only the functions you actually use end up being compiled. I opted to choose LGPL for HIDlib because I feared that otherwise people would just copy the code, make their own improvements and not contribute back to the original source. That would also create a ton of different variations, that wouldn't be benefitted if any bugs were eventually fixed on the library.

HIDtest, OTOH, is GPL because I thought it would made no sense to copy code form it, because:

1) It's a fully fledged implementation. Very rarely any games/apps will need to support so many different devices simultaneously
2) The showbuttons routine button/direction decoders are somewhat specific to the utility, so at most they'll serve as a case stury
3) Maybe the HIDDRV routine could be reused, but I'm not sure about that

If people really prefer HIDtest to be released under a less restrictive license, I can consider to change it. But for HIDlib I rather prefer to keep it as LGPL, for the reasons explained above.

Quote:

(The EQUs zip archive doesn’t contain a license btw.)

Indeed, but since they don't contain any actual algorithms, I thought it wouldn't be necessary. If a license is necessary anyway, then I declare them as public domain. I just intended them to make the life of the MSX developers easier.

Quote:

And those pixel art collection vol. 3 pictures are looking niiiice!

I'm glad you liked it! Thank you so much for all the feedback! :)

By syn

Paragon (1919)

syn's picture

04-05-2019, 10:21

Those sample pics look fantastic! I'll have to load them in emulator/realnmsx sometimes Cool

By sd_snatcher

Prophet (3032)

sd_snatcher's picture

04-05-2019, 21:37

Here's another announcement. While digging for the Pixel Art Collections, obviously I also bumped on lots of digitised images. I gathered those amongst the ones I already had since the 80s, and composed this collection as a byproduct.

----------
Digitized Image Collection Vol.1

There was a time were digitized images were all the rage. The ability to show photos made a computer stand against others. While the image quality will now make some turn their noses, these images are also a record of their time: cars, celebrities, landscapes, Pr0n, old CGI, games, TV shows/ads etc, so it's like a trip down the 80s/90s memory lane that also deserves to be preserved.

Here are some sample images:

Screen8:

Screen-12:

You can download it at this page.

Page 7/8
1 | 2 | 3 | 4 | 5 | 6 | | 8