Skip to content

Commit

Permalink
[What's New 2.0.3 - October 1, 2008]
Browse files Browse the repository at this point in the history
* Complete rewrite of loading code - FDS / UNIF / NSF support added!
* VS games work (coin insert submitted by pakitovic)
* Mapping of 'Special' commands - VS coin insert, FDS switch disk (default A)
* 480p and DVD now available for GameCube
* Improved stability - less crashes!
  • Loading branch information
dborth committed Oct 16, 2008
1 parent d89b6ac commit 4cb8ec7
Show file tree
Hide file tree
Showing 30 changed files with 848 additions and 1,203 deletions.
6 changes: 3 additions & 3 deletions Makefile.gc
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ BUILD := build_gc
SOURCES := source/fceultra source/fceultra/boards \
source/fceultra/drivers/common source/fceultra/input \
source/fceultra/mappers source/fceultra/mbshare \
source/ngc source/sz
source/ngc
DATA := data
INCLUDES := source/fceultra source/ngc
LANG := ENGLISH # Supported languages: ENGLISH

#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNGC \
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DNGC \
-DHAVE_ASPRINTF -DSTDC -DFCEU_VERSION_NUMERIC=9812 \
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \
-DLANG_$(LANG)
Expand All @@ -40,7 +40,7 @@ LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -lmxml -lbba -ltinysmb -lfat -lz -logc -lm -lfreetype
LIBS := -lpng -lmxml -lbba -ltinysmb -lfat -lz -logc -lm -lfreetype

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
Expand Down
6 changes: 3 additions & 3 deletions Makefile.wii
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ BUILD := build_wii
SOURCES := source/fceultra source/fceultra/boards \
source/fceultra/drivers/common source/fceultra/input \
source/fceultra/mappers source/fceultra/mbshare \
source/ngc source/sz
source/ngc
DATA := data
INCLUDES := source/fceultra source/ngc
LANG := ENGLISH # Supported languages: ENGLISH

#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNGC -DWII_DVD \
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DNGC -DWII_DVD \
-DHAVE_ASPRINTF -DSTDC -DFCEU_VERSION_NUMERIC=9812 \
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \
-DLANG_$(LANG)
Expand All @@ -40,7 +40,7 @@ LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -ldi -lmxml -lfat -lwiiuse -lz -lbte -logc -lm -lfreetype -ltinysmb
LIBS := -ldi -lpng -lmxml -lfat -lwiiuse -lz -lbte -logc -lm -lfreetype -ltinysmb

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
Expand Down
77 changes: 60 additions & 17 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,��

- FCE Ultra GX -
Version 2.0.4
http://code.google.com/p/fceugc
Version 2.0.3
(Under GPL License)

�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,��


-=[ Explanation ]=-

FCE Ultra GX is a modified port of the FCE Ultra 0.98.12 Nintendo Entertainment
system for x86 (Windows/Linux) PC's. With it you can play NES games on your
Wii/GameCube. Version 2 is a complete rewrite based on code from the
SNES9x GX project.
SNES9x GX and Genesis Plus GX projects.

-=[ Features ]=-

* Wiimote, Nunchuk, Classic, and Gamecube controller support
* iNES, FDS, VS, UNIF, and NSF ROM support
* 1-4 Player Support
* 1-2 Player Support
* Zapper support
* RAM and State saving
* Custom controller configurations
* SD, USB, DVD, SMB, GC Memory Card, Zip, and 7z support
* SD, USB, DVD, SMB, GC Memory Card, and Zip support
* NES Compatibility Based on v0.98.12
* Sound Filters
* Graphics Filters (GX Chipset, Cheesy and 2x)
Expand All @@ -29,17 +30,6 @@ SNES9x GX project.
|0O��o� UPDATE HISTORY �o��O0|
`������� ���������������� ��������������� �������������������� �������������'

[What's New 2.0.4 - October 15, 2008]
* Wii DVD fixed
* FDS BIOS loading works now
* FDS disk switching now consistently works with one button press
* FDS saving implemented
* 7z support
* Faster SD/USB (readahead cache enabled)
* VS coin now mapped to 1 button for VS zapper games
* Changed GC controller mappings - Select - Z, Start - Start,
Home - Start+A, Special - L

[What's New 2.0.3 - October 1, 2008]
* Complete rewrite of loading code - FDS / UNIF / NSF support added!
* VS games work (coin insert submitted by pakitovic)
Expand Down Expand Up @@ -175,6 +165,59 @@ Palette - The colors used while viewing the game:
zaphod-smb . vs-drmar . vs-cv . vs-smb

Timing - NTSC or PAL (Depends if you're running a PAL or NTSC game)

ח����������� ������������������������������ �����������������������-����-���
|0O��o� UPDATE HISTORY (1.0.x) �o��O0|
`������� ���������������� ��������������� �������������������� �������������'

What's new [20080331]

+[Askot]
- Fixed/changed SDCARD slot selection for searching roms, at
start you will be prompted for this option.
- Code cleanup.

+[dsbomb]
- Added Wii mode support.
- Give a "Bad cartridge" error instead of locking up.
- Joystick fixes due to libogc r14's changed stick values
- Rearranged menu to make more sense, and consistent with Snes9x
- Add "Reboot" menu option
- Removed "." directory from SD card listing, it's pointless
- Expand DVD reading to DVD9 size (once DVDs are working again)
- Added option to go back a menu by pressing B.

What's new? Askot [20080326]
- Added saving state in SD Card (State files will be saved in root of SDCARD).
*Note: I can't make it work to save in root:\fceu\saves, so help needed.
- Added SDCARD slot selection for searching roms, meaning, you can search roms
from SDCARD SLOT A & SLOT B (Beta, meaning, buggy, but works).
- For standarization, you must create folders root:\fceu\roms to read NES
roms files from SDCARD.
- Added C-Left to call Menu.
- Reading files from SD Card it's faster, now they're called from cache
after first reading.
- Menu in saving STATE file changed to choose SLOT, DEVICE, Save STATE,
Load STATE, Return to previous.
- Added option PSO/SD Reload to menu, still works (START+B+X)
- Modified controls when going into the rom selection menu (DVD or
SDCARD):
+ Use B to quit selection list.
+ Use L/R triggrers or Pad Left/Right to go down/up one full page.
- Some menu rearrangment and a little of sourcecode cleanup:
+ Everytime you pressed B button on any option, playgame started, not anymore
until you select Play Game option.

What's new? asako [20070831]
- modify mmc3 code for Chinese pirated rom
- add some Chinese pirated rom mappers

What's new? _svpe_ [20070607]
- Wii support (PAL50 fix, 1.35GiB restriction removed)
- 7zip ROM loading support from the DVD (not from a SD card!!)
- dvd_read fix (the read data was always copied to readbuffer instead of *dst)
- slower file selection when using the D-Pad (I didn't like the selection to go
as fast as in the latest release)

�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,��

Expand Down
28 changes: 14 additions & 14 deletions source/fceultra/state.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
#include "video.h"


void (*SPreSave)(void);
void (*SPostSave)(void);
static void (*SPreSave)(void);
static void (*SPostSave)(void);

static int SaveStateStatus[10];
static int StateShow;
Expand Down Expand Up @@ -113,15 +113,15 @@ static int SubWrite(FILE *st, SFORMAT *sf)
if(sf->s&RLSB)
FlipByteOrder(sf->v,sf->s&(~RLSB));
#endif

fwrite((uint8 *)sf->v,1,sf->s&(~RLSB),st);
/* Now restore the original byte order. */
#ifndef LSB_FIRST
if(sf->s&RLSB)
if(sf->s&RLSB)
FlipByteOrder(sf->v,sf->s&(~RLSB));
#endif
}
sf++;
sf++;
}

return(acc);
Expand All @@ -132,9 +132,9 @@ static int WriteStateChunk(FILE *st, int type, SFORMAT *sf)
int bsize;

fputc(type,st);

bsize=SubWrite(0,sf);
write32le(bsize,st);
write32le(bsize,st);

if(!SubWrite(st,sf)) return(0);
return (bsize+5);
Expand Down Expand Up @@ -235,11 +235,11 @@ int FCEUSS_SaveFP(FILE *st)
{
static uint32 totalsize;
static uint8 header[16]="FCS";

memset(header+4,0,13);
header[3]=0xFF;
FCEU_en32lsb(header + 8, FCEU_VERSION_NUMERIC);
fwrite(header,1,16,st);
fwrite(header,1,16,st);
FCEUPPU_SaveState();
FCEUSND_SaveState();
totalsize=WriteStateChunk(st,1,SFCPU);
Expand Down Expand Up @@ -305,12 +305,12 @@ int FCEUSS_LoadFP(FILE *st)

x=ReadStateChunks(st,*(uint32*)(header+4));
if(stateversion<9500) X.IRQlow=0;

if(GameStateRestore) GameStateRestore(stateversion);
if(x)
{
FCEUPPU_LoadState(stateversion);
FCEUSND_LoadState(stateversion);
FCEUSND_LoadState(stateversion);
}
return(x);
}
Expand Down Expand Up @@ -348,7 +348,7 @@ int FCEUSS_Load(char *fname)
SaveStateStatus[CurrentState]=1;
fclose(st);
return(1);
}
}
else
{
SaveStateStatus[CurrentState]=1;
Expand Down Expand Up @@ -418,7 +418,7 @@ void FCEUI_SelectState(int w)
CurrentState=w;
StateShow=180;
FCEU_DispMessage("-select state-");
}
}

void FCEUI_SaveState(char *fname)
{
Expand Down Expand Up @@ -448,7 +448,7 @@ void FCEUI_LoadState(char *fname)
if(FCEUSS_SaveFP(fp))
{
fclose(fp);
FCEUNET_SendFile(FCEUNPCMD_LOADSTATE, fn);
FCEUNET_SendFile(FCEUNPCMD_LOADSTATE, fn);
}
else fclose(fp);
/*** REMOVED GC V1.0
Expand Down
Loading

0 comments on commit 4cb8ec7

Please sign in to comment.