Fernando Garcia
Published: 2018-12-31
Total Pages: 285
Get eBook
Fusion-C is a FREE C library. With FUSION-C you will be able to code games or any other softwares for the MSX computers, in C, as easy as a cup of tea !The library is compatible for MSX1, MSX2, MSX2+, and MSX Turbo-R and can take advantage of the hardware of each model.All aspects of MSX are covered by FUSION-C, allowing easy programming of MSX specificities.- Graphics, Sprites, Drawings, Video RAM...- Sounds with PSG, Sound FX Player, PT3 Music Player ... - Memory Management and Memory Mapper- File management, reading, writing, folders ...and many other routines and functions... This book will allow you to install and use a free tools chain, allowing you to easily program with FUSION-C. Automate the compilation of programs, and test them on an MSX emulatorAll C and FUSION-C commands are described, and a C 'memento' will teach to beginners how to start coding in C language. Also the technical aspects of the MSX standard are detailed to give you every chance to succeed in your projects.Content of the Book:What is « FUSION-C » Installing the Tools ChainStep 1 - Download filesStep 2 - Setting your working folderStep 3 - Installing Sublime TextStep 4 - Installing Hex2binStep 5 - Installing Open MSX EmulatorStep 6 - Installing SDCC packageStep 7 - Customize the SDCC Default LibraryStep 8 - Customize the Compilation script ( Optional )Start your first compilationExample of a C programExample of our working environment. Content of the FUSION-C library : MSX FUSION [ MSX_FUSION.H ], Console Functions, Miscellaneous Functions, Joystick Functions, Keyboard Functions, I/O Port Functions, Type Functions, String, Functions, Memory Functions, Interrupt Functions, PSG Functions, MSX-DOS File I/O Functions, MSX-DOS Functions, Turbo-r Functions, File I/O [ IO.H ], MSX1 GRAPHICS [VDP_GRAPH1.H], MSX2 GRAPHICS [vdp_graph2.h], SPRITES [vdp_SPRITES.h], CIRCLE [VDP_CIRCLE], MSX-DOS 2 RAM MAPPER [RAMMAPPER.H], PSG [PSG.H], AYFX PLAYER [ayfx_player.h], MUSIC PT3 REPLAYER [PT3REPLAYER.H], MSX BASIC VS Fusion-C, The Library's source code, The C standard functions, CTYPE.H, MATH.H, STDLIB.H, STRING.H, TIME.H, STDARG.H, Adding Assembler source code inside your C program, Use command line arguments with your program, Technical information about MSX & MSX2, MSX Models summary, MSX 1 video screen modes, MSX 2 video screen modes, MSX2 screen Map and Vram To Vram Copy, Screen mode Maps, Vram to Vram copy, The Sprites, The MSX Cartridges and rom mapper, MSX Ram Memory Mapper, MSX-DOS Operating System, MSX DOS Memory map, Memento about C language.