Skip to content

Commit

Permalink
Update to K:1.06,FW:7
Browse files Browse the repository at this point in the history
  • Loading branch information
Sterophonick committed Apr 17, 2019
1 parent 091f216 commit 3d52aab
Show file tree
Hide file tree
Showing 70 changed files with 7,775 additions and 14,786 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ include $(DEVKITARM)/gba_rules
#---------------------------------------------------------------------------------
TARGET := omega-kernel
BUILD := build
SOURCES := source source/ff13b
SOURCES := source source/ff13c
DATA :=
GRAPHICS := gfx
INCLUDES := $(INCLUDES) include source/ff13b
INCLUDES := $(INCLUDES) include source/ff13c

#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
ARCH := -mthumb -mthumb-interwork

CFLAGS := -g -Wall -Os\
CFLAGS := -g -Wall -Os \
-mcpu=arm7tdmi -mtune=arm7tdmi\
-fomit-frame-pointer\
-ffast-math \
Expand Down
Binary file added SYSTEM/PLUG/ap.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/arc.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/bgf.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/bmp.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/c8.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/col.gba
Binary file not shown.
Binary file added SYSTEM/PLUG/gg.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/gsm.bin
Binary file not shown.
Binary file added SYSTEM/PLUG/jpeg.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/jpg.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/k3m.bin
Binary file not shown.
Binary file added SYSTEM/PLUG/lz.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/mid.bin
Binary file not shown.
Binary file added SYSTEM/PLUG/mod.bin
Binary file not shown.
Binary file added SYSTEM/PLUG/ngc.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/ngp.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/ngpc.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/nsf.mbz
Binary file not shown.
Binary file added SYSTEM/PLUG/pce.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/pcx.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/raw.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/rom.gba
Binary file not shown.
Binary file added SYSTEM/PLUG/sb.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/sg.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/sms.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/ssd.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/sv.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/txt.bin
Binary file not shown.
Binary file added SYSTEM/PLUG/wav.bin
Binary file not shown.
Binary file added SYSTEM/PLUG/ws.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/wsc.mb
Binary file not shown.
Binary file added SYSTEM/PLUG/z80.gba
Binary file not shown.
Binary file added SYSTEM/PLUG/zcode.bin
Binary file not shown.
Empty file added SYSTEM/RECENT.TXT
Empty file.
42 changes: 30 additions & 12 deletions manual/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -866,21 +866,39 @@ <h2 id="toc_37">Pogoshell</h2>

<h4 id="toc_38">Packaged File Types</h4>

<p><code>.bmp</code>: Windows Bitmap IMAGE</p>
<p><code>.gg</code>: Sega Game Gear ROM File</p>
<p><code>.jpg/.jpeg</code>: JPEG Image</p>
<p><code>.mod</code>: ProTracker Module</p>
<p><code>.ngc/.ngp/.ngpc</code>: Neo Geo Pocket ROM File</p>
<p><code>.pce</code>: NEC PC-Engine/TurboGrafx-16 ROM File</p>
<p><code>.rom</code>: MSX ROM File (Not a .DSK)</p>
<p><code>.sg</code>: Sega SG-1000 ROM File</p>
<p><code>.gba / .bin / .agb / .mb</code>: Game Boy Advance ROM File</p>
<p><code>.col</code>: ColecoVision ROM File</p>
<p><code>.gb / .gbc</code>: Game Boy / Color ROM File</p>
<p><code>.gg</code>: Game Gear ROM File</p>
<p><code>.rom</code>: MSX Cartridge ROM (not a .DSK)</p>
<p><code>.ngp / .ngpc / .ngc</code>: Neo Geo Pocket / Color ROM File</p>
<p><code>.nes</code>: NES ROM File</p>
<p><code>.pce</code>: PC-Engine / TurboGrafx-16 ROM File</p>
<p><code>.sms</code>: Sega Master System ROM File</p>
<p><code>.sv</code>: Watara Supervision ROM File</p>
<p><code>.ws/.wsc</code>: WonderSwan ROM File</p>
<p><code>.z80</code>: ZX-Spectrum Z80 Snapshot</p>
<p><code>.sg</code>: Sega SG-1000 ROM File</p>
<p><code>.sv</code>: Watara SuperVision ROM File</p>
<p><code>.ws / .wsc</code>: WonderSwan / Color ROM File</p>
<p><code>.z80</code>: 48k ZX-Spectrum Z80 State FIle</p>
<p><code>.arc</code>: Emerson Arcadia 2001 ROM File</p>
<p><code>.c8</code>: Chip-8 ROM File</p>
<p><code>.jpg / .jpeg</code>: JPEG Image</p>
<p><code>.mod</code>: ProTracker Module File</p>
<p><code>.pcx</code>: ZSoft Paintbrush PCX Image</p>
<p><code>.mid</code>: MIDI Sequence</p>
<p><code>.nsf</code>: NES Music File (Nintendo Sound File)</p>
<p><code>.vgm</code>: SMS/GG Music File (NOT WORKING)</p>
<p><code>.txt</code>: Text Document</p>
<p><code>.gsm</code>: GSM Format Audio (NOT WORKING)</p>
<p><code>.wav</code>: Wave Sound</p>
<p><code>.k3m</code>: Krawall Advance Sound File</p>
<p><code>.sb</code>: MaxMod Soundbank </p>
<p><code>.lz</code>: LZ77 Compressed Mode 3 Bitmap</p>
<p><code>.raw</code>: Uncompressed Mode 3 Bitmap</p>
<p><code>.ap</code>: aPlib compressed Mode 3 Bitmap</p>
<p><code>.bgf</code>: BoyScout Module File</p>

<h4 id="toc_39">Plugins</h4>
<p>Every single extension listed above is controlled by a file known as a Pogoshell plugin.</p>
<p>Most extensions listed above is controlled by a file known as a Pogoshell plugin.</p>


<h4 id="toc_40">Playing ColecoVision ROMs</h4>
Expand Down
4 changes: 3 additions & 1 deletion source/Ezcard_OP.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@ void IWRAM_CODE Check_FW_update(u16 Current_FW_ver,u16 Built_in_ver)
//DEBUG_printf("get_crc32 %x ",get_crc32);
//if( get_crc32 != 0x22475DDC) //fw3
//if( get_crc32 != 0xEE2DACE7) //fw4
if( get_crc32 != 0x7E6212AB) { //fw6
//if( get_crc32 != 0x7E6212AB) //fw6
if( get_crc32 != 0xEFD03788) //fw7
{
sprintf(msg,"CRC32 checksum failure!");
DrawHZText12(msg,0,2,offset_Y+0*line_x, RGB(31,00,00),1);
sprintf(msg,"Press (B) to return.");
Expand Down
88 changes: 88 additions & 0 deletions source/Fire_Emblem_iQue_patch.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
@;--------------------------------------------------------------------
.section .text,"ax",%progbits

.global Fire_Emblem_iQue_patch_start
.global Fire_Emblem_iQue_patch_end


@;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.thumb
Fire_Emblem_iQue_patch_start:
PUSH {R0-R4}
BL Set_save
POP {R0-R4}
POP {R4,R5}
POP {R0}
BX R0
@;----------------------------------
PUSH {R0-R4}
BL Set_save
POP {R0-R4}
MOV R9, R4
POP {R4-R6}
POP {R0}
BX R0
@;----------------------------------
PUSH {R0-R4}
BL Set_save
POP {R0-R4}
POP {R4-R7}
POP {R0}
BX R0
@;----------------------------------
PUSH {R0-R4}
BL Set_save
POP {R0-R4}
MOV R8, R3
POP {R4-R7}
POP {R0}
BX R0
@;----------------------------------
MOV R9, R4
POP {R4-R7}
POP {R0}
PUSH {R0}
PUSH {R1-R5}
LDR R1, =0x80987AF
CMP R0, R1
BNE exit
BL Set_save
exit:
POP {R1-R5}
POP {R0}
BX R0
@;----------------------------------
@;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Set_save:
PUSH {R1-R7,LR}
MOV R0,#0x02
BL Set_AUTO_save
MOV R0,#0x00
BL Set_AUTO_save
POP {R1-R7}
POP {R0}
BX R0
@;----------------------------------
Set_AUTO_save:
LDR R2, =0xFFFFD200
LDR R3, =0x9FE0000
MOVS R1, #0x80
STRH R2, [R3]
MOVS R3, #0xA8
LSL R1, R1, #0x14
LSL R3, R3, #5
STRH R3, [R1]
LDR R1, =0x8020000
STRH R2, [R1]
LDR R2, =0x8040000
STRH R3, [R2]
LDR R2, =0x96C0000
STRH R0, [R2]
LDR R2, =0x9FC0000
STRH R3, [R2]
BX LR

.ltorg
.align
Fire_Emblem_iQue_patch_end:
.end
19 changes: 19 additions & 0 deletions source/GBApatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,6 +1351,25 @@ void Check_Fire_Emblem(void)
modify_val = 0x80B670F;
have = 1;
}break;
case 0x43454641://Fire_Emblem_(Prototype,_iQue)
{
address1[0]=0x84FF0;
address1[1]=0x85048;
address1[2]=0x850F8;
address1[3]=0x85194;
address1[4]=0x858B0;
patchaddress=0xFFCC00;
code2[0]=Baseaddress+patchaddress+0x1;
code2[1]=Baseaddress+patchaddress+0xF;
code2[2]=Baseaddress+patchaddress+0x1F;
code2[3]=Baseaddress+patchaddress+0x2D;
code2[4]=Baseaddress+patchaddress+0x3D;
p_patch_start = (u8*)Fire_Emblem_iQue_patch_start;
p_patch_end = (u8*)Fire_Emblem_iQue_patch_end;
//p_modify_address = (u8*)Modify_address_B;
//modify_val = 0x80B670F;
have = 1;
}break;
}

if(have){
Expand Down
3 changes: 2 additions & 1 deletion source/GBApatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ extern void Modify_address_A(void);
extern void Fire_Emblem_B_patch_start(void);
extern void Fire_Emblem_B_patch_end(void);
extern void Modify_address_B(void);

extern void Fire_Emblem_iQue_patch_start(void);
extern void Fire_Emblem_iQue_patch_end(void);

extern u32 gl_cheat_count;

Expand Down
Loading

0 comments on commit 3d52aab

Please sign in to comment.