..:: PCSX2 Forums ::..

Full Version: ZZogl -- Zero GS KOSMOS fork
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Yes both PCSX2 and ZZOgl were compiled with gcc4.4. And yes they work, cos yesterday i finished La Pucelle using this revision

This evening i'll see if i can compile a newer one.
Interesting. Do you know if the GCC package you used is heavily patched?
I really have no idea, the only thing i know is that it ends with ubuntu5 so i guess that it has 5 patchs on it.

EDIT: LOL it seems that La Pucelle is the only game that works with the gcc4.4 pcsx2, any other says Seg Fault so it seems that it doesn't compile very well with gcc4.4.
Makai Kingdome works up to the title screen, if you load a saved game, it goes seg fault
Stupid question: what does it mean, when GSGifTransfer have an addr argument 0x4000? What should be transferred? Assumption that addr = 0x4000 is 0 lead to VU1 to much data (path1).
that means the start address for the transfer is 0x4000, but that will actually be vu address 0. also make sure you account for memory wrapping, so if your nloop is greater than that (yes the data should always be ready) to ring around the 0x0-0x4000 address range (this is for Activision games like Guitar Hero 3 and Tony Hawks Project 8)
Well, I run KH2 asteroid field mini-game. And I not sure how to made ringing proprely. When I read fist 0x4000 data, how should I ask for the next data portion? Maybe there is some datashit or API description?
SVN 157 won't compile here:

Code:
GSmain.cpp: In function ‘void GSsetFrameSkip(int)’:
GSmain.cpp:200: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:201: error: expected ‘;’ before ‘s_frameskipping’
GSmain.cpp: In function ‘void GSreset()’:
GSmain.cpp:247: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:249: error: expected ‘;’ before ‘memset’
GSmain.cpp: In function ‘void GSgifSoftReset(u32)’:
GSmain.cpp:261: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:263: error: expected ‘;’ before ‘if’
GSmain.cpp: In function ‘s32 GSinit()’:
GSmain.cpp:273: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:275: error: expected ‘;’ before ‘memcpy’
GSmain.cpp: In function ‘void GSshutdown()’:
GSmain.cpp:303: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:306: error: expected ‘;’ before ‘if’
GSmain.cpp: In function ‘void OnKeyboardF5(int)’:
GSmain.cpp:314: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:316: error: expected ‘;’ before ‘char’
GSmain.cpp:320: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:324: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:330: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:331: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:334: error: ‘strtitle’ was not declared in this scope
GSmain.cpp: In function ‘void OnKeyboardF6(int)’:
GSmain.cpp:340: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:342: error: expected ‘;’ before ‘char’
GSmain.cpp:346: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:352: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:356: error: ‘strtitle’ was not declared in this scope
GSmain.cpp: In function ‘void OnKeyboardF7(int)’:
GSmain.cpp:362: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:364: error: expected ‘;’ before ‘char’
GSmain.cpp:372: error: ‘strtitle’ was not declared in this scope
GSmain.cpp: In function ‘void OnKeyboardF61(int)’:
GSmain.cpp:377: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:379: error: expected ‘;’ before ‘char’
GSmain.cpp:383: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:389: error: ‘strtitle’ was not declared in this scope
GSmain.cpp:393: error: ‘strtitle’ was not declared in this scope
GSmain.cpp: In function ‘void OnKeyboardF9(int)’:
GSmain.cpp:398: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:400: error: expected ‘;’ before ‘char’
GSmain.cpp:402: error: ‘strtitle’ was not declared in this scope
GSmain.cpp: In function ‘s32 GSopen(void*, char*, int)’:
GSmain.cpp:630: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:632: error: expected ‘;’ before numeric constant
GSmain.cpp: In function ‘void ProcessMessages()’:
GSmain.cpp:676: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:678: error: expected ‘;’ before ‘XEvent’
GSmain.cpp:680: error: ‘event’ was not declared in this scope
GSmain.cpp: In function ‘void GSclose()’:
GSmain.cpp:712: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:714: error: expected ‘;’ before ‘ZeroGS’
GSmain.cpp: In function ‘void GSirqCallback(void (*)())’:
GSmain.cpp:730: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:732: error: expected ‘;’ before ‘GSirq’
GSmain.cpp: In function ‘void GSwriteCSR(u32)’:
GSmain.cpp:737: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:739: error: expected ‘;’ before ‘gs’
GSmain.cpp: In function ‘void GSchangeSaveState(int, const char*)’:
GSmain.cpp:744: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:746: error: expected ‘;’ before ‘char’
GSmain.cpp:747: error: ‘str’ was not declared in this scope
GSmain.cpp: In function ‘void GSmakeSnapshot(char*)’:
GSmain.cpp:753: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:755: error: expected ‘;’ before ‘FILE’
GSmain.cpp:765: error: ‘bmpfile’ was not declared in this scope
GSmain.cpp:771: error: ‘bmpfile’ was not declared in this scope
GSmain.cpp:785: error: ‘bmpfile’ was not declared in this scope
GSmain.cpp: In function ‘void GSvsync(int)’:
GSmain.cpp:799: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:801: error: expected ‘;’ before numeric constant
GSmain.cpp: In function ‘void GIFtag(pathInfo*, u32*)’:
GSmain.cpp:884: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:886: error: expected ‘;’ before ‘path’
GSmain.cpp: In function ‘void _GSgifPacket(pathInfo*, u32*)’:
GSmain.cpp:920: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:922: error: expected ‘;’ before ‘int’
GSmain.cpp:923: error: ‘reg’ was not declared in this scope
GSmain.cpp: In function ‘void _GSgifRegList(pathInfo*, u32*)’:
GSmain.cpp:933: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:935: error: expected ‘;’ before ‘int’
GSmain.cpp:937: error: ‘reg’ was not declared in this scope
GSmain.cpp: In function ‘void GSgetLastTag(u64*)’:
GSmain.cpp:951: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp: In function ‘void _GSgifTransfer(pathInfo*, u32*, u32)’:
GSmain.cpp:959: error: ‘FUNCLOG’ was not declared in this scope
GSmain.cpp:978: error: expected ‘;’ before ‘while’
GSmain.cpp:1476: error: expected ‘}’ at end of input
make[1]: *** [libZeroGSogl_a-GSmain.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from Mem.cpp:21:
zerogs.h:22: warning: ignoring #pragma warning
Regs.cpp: In function ‘void GIFPackedRegHandlerSTQ(u32*)’:
Regs.cpp:95: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp:96: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp:97: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp: In function ‘void clampWrite(int, u32*)’:
Regs.cpp:296: warning: comparison between signed and unsigned integer expressions
Regs.cpp: In function ‘void GIFRegHandlerRGBAQ(u32*)’:
Regs.cpp:345: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp: In function ‘void GIFRegHandlerST(u32*)’:
Regs.cpp:350: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp:351: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp: In function ‘void tex1Write(int, u32*)’:
Regs.cpp:453: warning: comparison between signed and unsigned integer expressions
Regs.cpp:453: warning: comparison between signed and unsigned integer expressions
Regs.cpp: In function ‘void GIFRegHandlerTEXA(u32*)’:
Regs.cpp:604: warning: dereferencing pointer ‘newinfo.206’ does break strict-aliasing rules
Regs.cpp:604: note: initialized from here
Regs.cpp:607: warning: dereferencing pointer ‘newinfo.206’ does break strict-aliasing rules
Regs.cpp:607: note: initialized from here
mv -f .deps/libZeroGSogl_a-Regs.Tpo .deps/libZeroGSogl_a-Regs.Po
mv -f .deps/libZeroGSogl_a-x86.Tpo .deps/libZeroGSogl_a-x86.Po
mv -f .deps/libZeroGSogl_a-Mem.Tpo .deps/libZeroGSogl_a-Mem.Po
make[1]: Leaving directory `/tmp/yaourt-tmp-maister/aur-pcsx2-svn/pcsx2-svn/src/pcsx2/plugins/zzogl/opengl'
make: *** [install-recursive] Error 1
ZZOgl rev. 160 for Windows
ZZOgl for Linux
Help! I still unable to obtain more than 0x4000 data. I read Gabest code, he call Transfer<0>(mem + addr, (0x4000 - addr) / 16); where (0x4000-addr)/16 would cast to u32. It's strange, but even more: is all data is read, but path->tag.nloop > 0 we both try to read mem-0x4000, 0x4000/16, where mem is last readed memory position. And I am not sure, that this is correct way.

p.S. Tony Hawks 8 is screwed on linux :-(.