MSXgl – A new C game library for MSX

Page 15/16
8 | 9 | 10 | 11 | 12 | 13 | 14 | | 16

By Manuel

Ascended (18788)

Manuel's picture

18-04-2022, 17:09

Aineko: what about using the step back function?

By Manuel

Ascended (18788)

Manuel's picture

18-04-2022, 23:22

Manuel wrote:

Send me a symbol file and I will take a look.

I added support for the NoICE command files, in particular the DEF lines that it can contain. This should add support for symbols for SDCC to the debugger's symbol manager, if you chose to let SDCC output these noi files.

By aoineko

Champion (445)

aoineko's picture

19-04-2022, 00:06

Thank you Manual.

For SDCC users: to generate the NoICE symbol file, you have to add the --debug argument at link time.

By wimpie3

Champion (393)

wimpie3's picture

19-04-2022, 08:02

Does the MSXgl library come with a sprite flicker routine in case you've got too many sprites in a row?

By aoineko

Champion (445)

aoineko's picture

19-04-2022, 09:30

No, but you have a sample that demonstrate this technic (s_sm1) using 2 reversed SAT.

By aoineko

Champion (445)

aoineko's picture

24-04-2022, 18:15

Hi,
Here is a new version of the library: MSXgl v0.3.4-alpha

Change log:
○ [Arkos] Added full fonctionnal Arkos Tracker's replayers (thanks to Targhan):
  • AKG (generic): The classic player. Good balance between speed and memory.
  • AKY (fast): Fastest player (but the music is also bigger).
  • AKM (minimalist): Smallest player (but slower).
  • Added a sample program to demonstrate Arkos replayer usage (s_arkos).
○ [BIOS] Added keyboard reading functions (using system variables).
○ [Input] Added an optional full keyboard rows update and quick reading functions (for no BIOS environment).
○ [Sample] Various cleaning and fixs on sample programs.
○ [BuildTool]:
  • Fixed compile script (fixed mapper segments option and added support for .s assembler source file).
  • Added SDCC headers directory to include path.
○ [Doc] Updated code documentation (see /engine/doc/html/index.html)


Arkos sample


Wizzl - WIP game

If you have any question or need some help about MSXgl, I am available here or on Discord.

By Manuel

Ascended (18788)

Manuel's picture

24-04-2022, 18:59

Glad you found the crash in the Arkos replayer Smile What was the problem?

By aoineko

Champion (445)

aoineko's picture

24-04-2022, 23:05

The original Arkos sources use the RASM assembler and the version of this tool that I used to convert to SDCC format generated constant truncations on some special effects (which explains why all the music did not crash). I found a version of RASM that fixes these problems.

By aoineko

Champion (445)

aoineko's picture

08-05-2022, 23:50

Hi,
I released a new version of the library: MSXgl v0.3.5-alpha

Change log:
○ [BuildTool] Rework mapped-ROM support:
  • Rework segment managment to allow all sources to be linked together to allow the use of symbols from any segment from any other.
  • Creation of a new binary generator tool called MSXhex (to replace hex2bin) that handle SDCC addressing convention for banking.
  • Adding option to handle SDCC banked calls (through --banked directive). An option in "build.bat" add banked call trampolines to the program.
  • Added a sample program to demonstrate use of mapped-ROM (s_mapper).
  See https://aoineko.org/msxgl/index.php?title=Create_a_mapped_ROM for more information.
○ [MSXtk] Convert tools source code to support GCC and added Linux executable for MSXbin, MSXzip and MSXhex.
○ [DOS] Fixed DOS1 function call (thanks to abekermsx).

By aoineko

Champion (445)

aoineko's picture

28-05-2022, 18:03

Hi all,

Today a new version of MSXgl have been released: MSXgl v0.4.0.

The shift from 3.5 to 4.0 symbolizes the great steps forward made by the library in recent weeks with the addition of important features (unpacker, MSX2+, MSX-DOS), the complete overhaul of the video module (VDP) and the valuable input of users who help it to mature.

There are many projects underway that I hope to see succeed in the coming months.

Here is the full change log:
- [Compress] Added support for ZX0, Pletter (0.5c1) and Bitbuster (1.2) unpackers
  - Updated the s_zip sample program to showcase the use of this module.
- [DOS] MSX-DOS1 module now (really) functional
  - Added file search, random read/write and console output features.
  - Updated FCB structure to give access to all the data.
  - Bug fix (IX register backup, BDOS address, SP address).
  - Added data files list to be 'cook' with the binary to be included in the DSK file.
  - Added a new sample program (s_dos) to showcase the use of this module.
- [VDP] Overall upgrade!
  - Added support for all MSX2+ features (YJK/YAE modes, horizontal scrolling, etc.).
  - Added support for new MSX2 features (frames alternence/interlace).
  - Changed the screen mode initialization process to overwrite only intended registers bits.
  - Added new configuration defines
  - Optimized (especially in code size).
  - Documented all functions and their parameters (see MSXgl/engine/doc/html).
- [Tools] Added ZX0, Pletter and Bitbuster packer tools.
- Various bug fix (Build Tool, JIFFY size, constant spelling, etc.).
- Added a header file to list all deprecated labels (functions, variables and defines).

Thanks to abekermsx for its contribution.
Original ZX0 unpacker by Einar Saukas & Urusergi.
Original Pletter unpacker by XL2S Entertainment.
Original Bitbuster unpacker by Team Bomba.

Unpack sample:

DOS sample:

MSX 2+ YJK mode:

As always, I'm available here or on Discord to answer all your questions or help you get started with MSXgl.
Have fun creating MSX games!

Page 15/16
8 | 9 | 10 | 11 | 12 | 13 | 14 | | 16