FBNeo - We are Team FBNeo.
Go to file
barbudreadmon 04ac9d45c9 gh_actions: adding a x64 test build
also disabling mips3 x64 drc because it fails building on recent compilers
2022-02-14 13:11:43 +01:00
.github gh_actions: adding a x64 test build 2022-02-14 13:11:43 +01:00
fbahelpfilesrc Update fbneo.chm 2021-05-02 13:03:54 +02:00
projectfiles Add: VS2019 - 2022 support (#923) 2022-02-05 15:21:21 +01:00
src gaelco2: more hiscore support 2022-02-14 08:39:28 +01:00
.editorconfig tab size 2019-02-25 00:00:52 -05:00
.gitignore cleaner sdl2 commits :) 2020-01-23 22:01:59 +00:00
appveyor.yml.ignore remove appveyor 2022-01-11 19:00:55 +01:00
fba.chm Help file update 2018-06-08 10:28:37 +00:00
LICENSE.md Create LICENSE.md 2019-07-02 11:50:22 +01:00
makefile fix cross-compile with mingw 2022-01-23 09:10:21 +01:00
makefile.burn_rules gh_actions: adding a x64 test build 2022-02-14 13:11:43 +01:00
makefile.burner_win32_rules add HardFX shaders from FC [JordiRos / shine] 2022-01-06 02:01:29 -05:00
makefile.mamemingw update lib7z to v19.00 2021-05-18 12:33:57 +02:00
makefile.mingw gh_actions: adding a x64 test build 2022-02-14 13:11:43 +01:00
makefile.pi update for softfx 2021-09-16 00:04:26 -04:00
makefile.sdl update for softfx 2021-09-16 00:04:26 -04:00
makefile.sdl2 fix sdl2 build + other minor changes 2022-01-23 09:41:53 +01:00
makefile.vc update lib7z to v19.00 2021-05-18 12:33:57 +02:00
README-macOS.md Version 1.03 release, RTF license 2019-12-14 23:30:50 +00:00
README-PI.md Added basic documentation & renderer info 2019-11-22 10:10:51 +00:00
README-SDL.md SDL/SDL2: add volume support 2020-12-21 13:35:04 +01:00
README.md giving up on multi-job badges 2022-01-11 19:50:41 +01:00
whatsnew.html whatsnew: oops, duplicate 2021-05-02 09:53:13 +02:00

FinalBurn Neo

Official Forum: https://neo-source.com

Discord: https://discord.gg/8EGVd9v

This is the official repository of FinalBurn Neo, an Emulator for Arcade Games & Select Consoles. It is based on the emulators FinalBurn and old versions of MAME

Use of this program and its source code is subject to the license conditions provided in the license.txt file in the src folder.

Work in Progress builds

You can download the latest builds by clicking on the badge below. Please note that the downloads might not be available immediately after a new commit. As this build is of the last commit occasionally you might run into incomplete code, crashes or other issues that official releases will not have.

nightly-release

Ports

Raspberry Pi build instructions.

macOS build instructions and releases.

LibRetro port with builds availble via RetroArch for a lot of cool platforms.

For SDL1.2 builds just type make sdl (requires SDL1.2 and GCC, make, perl and nasm) instructions

For SDL2 builds just type make sdl2 (requires SDL2, SDL2_image, gcc, make, perl and nasm) instructions

Reporting Issues

Please raise an issue on the project GitHub or report on the forums at Neosource

What about FB Alpha?

Many of the developers of this project also worked on FB Alpha. Due to a controversy, we no longer do, and recommend that everyone use this emulator instead.

Contributing

We welcome pull requests and other submissions from anyone. We maintain a list of known bugs and features that would be nice to add on the issue tracker, some of which would be a good starting point for new contributors.

One of the focuses of FBNeo is ensuring that the codebase is compilable on older systems. This is for many reasons, not least because older hardware still has a use outside of landfill or being stored in a recycling center, but also it can be a lot of fun porting and running FBNeo to other platforms. Currently, this means we will always aim for C++03 compliance as a minimum. Any pull requests should keep this in mind!

Notes on Contributions

In the root of the source tree there is an .editorconfig that mandates:

  • tabs for indentation
  • tabs use 4 columns

Please see the following function for some ideas on how naming, brackets and braces should be

void FunctionName(UINT8 var1, UINT16 var2)
{
	UINT64 result;
	if (var1 * var2 >= 10) {
		result = var1 * var2;
	} else {
		result = var1;
	}
}

Source tree structure

The source for FBNeo is layed out in a similar way to how things were in the days of the original FinalBurn. It's just that there are now more directories and source files as the emulator has grown significantly.

src/
--/burn			<-- This is where the emulation code lives
----/devices		<-- This is where emulated devices (EEPROMS, etc) live
----/drv		<-- This is where the drivers for Games and Systems live
----/snd		<-- This is where the emulation for sound chips and other sound generating devices live
--/burner		<-- This is where the frontend code lives
--/cpu			<-- This is where the CPU emulation lives
--/dep			<-- This is where external dependencies live (such as libpng)
--/intf			<-- This is where the platform specific code for each platform that FBNeo supports live (e.g. Video and Sound output)

Porting FBNeo to different systems

In the main source tree, you will see in the intf directory various implementations for different platforms. You should look in here when porting to new platforms. We also encourage new ports, and are happy to have them merged in to the main sourcetree. There is probably a project there for someone to re-implement some of the older ports using the intf standard, should they want to.

For portability we define the following types

unsigned char   UINT8;
signed char     INT8;
unsigned short	UINT16;
signed short	INT16;
unsigned int	UINT32;
signed int      INT32;
signed int64	INT64;
unsigned int64  UINT64;

It is recommended that you take a look at the other #defines and structs in the header files in Burn and Burner, and don't forget that some of the existing code in the intf directory will come in handy for new ports.