sleep unterm gp2x

Previous topic - Next topic

Husten

hi,

mir ist grad aufgefallen, dass der sleepbefehl auf meinem gp2x komplett ignoriert wird. compiliere ich die geschichte für win, gehts wunderbar, aber auf dem gp2x passiert beim sleep garnichts :)

gruss husten

Kitty Hello

muss ich sehen. Uh-Oh.

Kitty Hello

OK, nächstes Update sollte gehen.

Husten


relei

Hallo,

irgend wie ist das Problem immer noch. Benutze den Sleep-Befehl nach der Tasteneingabe (sleep 200) und unter Windows funktioniert es super, aber unter dem GP2x F200 scheint er das Sleep zu ignorieren.

Damit funktioniert es:

Code (glbasic) Select

                time = GETTIMERALL()
time = time + 200
WHILE time > GETTIMERALL()
WEND
Oder mache ich was falsch?

Gruß

Rene

Kitty Hello

Wartet sleep(5000) 5 sekunden? (aktuelles Update von heute)
Oder sleep(5000 * 1000) ?

relei

Hm... Sleep(5000) scheinen 5 Sekunden zu sein (so vom mitzählen).

Benutze ich aber sleep(200) scheint das keine Auswirkung zu haben. Ersetze ich das sleep(200) durch den oben geschriebenen Code dann funktioniert es. Benutze ich sleep(600) scheint das auch keine Auswirkung zu haben.

Liegt es vielleicht doch an mir???

Gruß

Rene

Kitty Hello

ah. OK. Ich mal checken.

relei


Kitty Hello

Sollte jetzt gehen...

Schranz0r

Der UpdateMaster hat wieder zugeschlagen *BAAAAAAAAAAM* :D
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

relei

Werde ich heute Abend gleich mal testen :D.

Danke und Gruß

Rene

relei

Hallo,

leider kann ich jetzt nichts mehr für den GP2x übersetzen, es kommt immer folgender Fehler:

Code (glbasic) Select
compile+link:
C:\DOKUME~1\rene\LOKALE~1\Temp/cc0gcaaa.o: In function `__GLBASIC__::__MainGameSub_()':
gpc_temp0.cpp:(.text+0x4c): undefined reference to `__GLBASIC__::DGStr::DGStr(__GLBASIC__::CGStr)'
gpc_temp0.cpp:(.text+0x6c): undefined reference to `__GLBASIC__::PRINT(__GLBASIC__::DGStr const&, double, double)'
gpc_temp0.cpp:(.text+0x7c): undefined reference to `__GLBASIC__::DGStr::~DGStr()'
gpc_temp0.cpp:(.text+0x80): undefined reference to `__GLBASIC__::SHOWSCREEN()'
gpc_temp0.cpp:(.text+0x84): undefined reference to `__GLBASIC__::MOUSEWAIT()'
gpc_temp0.cpp:(.text+0xb4): undefined reference to `__GLBASIC__::DGStr::~DGStr()'
C:\DOKUME~1\rene\LOKALE~1\Temp/cc0gcaaa.o: In function `__GLB_Defaults()':
gpc_temp0.cpp:(.text+0x140): undefined reference to `__GLBASIC__::__DG_RESX'
gpc_temp0.cpp:(.text+0x144): undefined reference to `__GLBASIC__::__DG_RESY'
gpc_temp0.cpp:(.text+0x148): undefined reference to `__GLBASIC__::__DG_WANTMOUSE'
gpc_temp0.cpp:(.text+0x14c): undefined reference to `__GLBASIC__::__DG_FRAMERATE'
gpc_temp0.cpp:(.text+0x150): undefined reference to `__GLBASIC__::__DG_SCHOOLVER'
gpc_temp0.cpp:(.text+0x154): undefined reference to `__GLBASIC__::__DG_FULLSCREEN'
gpc_temp0.cpp:(.text+0x158): undefined reference to `__GLBASIC__::__DG_MULTISAMPLE'
gpc_temp0.cpp:(.text+0x15c): undefined reference to `__GLBASIC__::__DG_DEBUG'
C:\DOKUME~1\rene\LOKALE~1\Temp/cc0gcaaa.o: In function `WinMain':
gpc_temp0.cpp:(.text+0x180): undefined reference to `__GLBASIC__::DGStr::Assign(char const*)'
gpc_temp0.cpp:(.text+0x1e0): undefined reference to `__GLBASIC__::DGStr::GetStrData(unsigned int)'
gpc_temp0.cpp:(.text+0x1fc): undefined reference to `__GlobalInit'
gpc_temp0.cpp:(.text+0x224): undefined reference to `__GLBASIC__::__EndProgram()'
gpc_temp0.cpp:(.text+0x234): undefined reference to `__GLBASIC__::__g_cmdline'
gpc_temp0.cpp:(.text+0x238): undefined reference to `__GLBASIC__::__DG_RESX'
gpc_temp0.cpp:(.text+0x23c): undefined reference to `__GLBASIC__::__DG_RESY'
gpc_temp0.cpp:(.text+0x240): undefined reference to `__GLBASIC__::__DG_WANTMOUSE'
gpc_temp0.cpp:(.text+0x244): undefined reference to `__GLBASIC__::__DG_FRAMERATE'
gpc_temp0.cpp:(.text+0x248): undefined reference to `__GLBASIC__::__DG_FULLSCREEN'
gpc_temp0.cpp:(.text+0x24c): undefined reference to `__GLBASIC__::__DG_MULTISAMPLE'
gpc_temp0.cpp:(.text+0x250): undefined reference to `__GLBASIC__::__DG_DEBUG'
gpc_temp0.cpp:(.text+0x254): undefined reference to `__GLBASIC__::__DG_SCHOOLVER'
gpc_temp0.cpp:(.text+0x25c): undefined reference to `__GLBASIC__::__g_debugline'
gpc_temp0.cpp:(.text+0x260): undefined reference to `__GLBASIC__::__g_errorline'
gpc_temp0.cpp:(.text+0x264): undefined reference to `__GLBASIC__::__g_error'
C:\DOKUME~1\rene\LOKALE~1\Temp/cc0gcaaa.o: In function `main':
gpc_temp0.cpp:(.text+0x27c): undefined reference to `__GLBASIC__::DGStr::c_str() const'
gpc_temp0.cpp:(.text+0x2a8): undefined reference to `__GLBASIC__::DGStr::operator+=(char const*)'
gpc_temp0.cpp:(.text+0x2b8): undefined reference to `__GLBASIC__::DGStr::operator+=(char const*)'
gpc_temp0.cpp:(.text+0x2c8): undefined reference to `__GLBASIC__::__g_cmdline'
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
Zum Quelltext:

Code (glbasic) Select
PRINT "Hallo",0,0
SHOWSCREEN
MOUSEWAIT
Gruß

Rene

Schranz0r

OMG

GP2X ganz vergessen Gernot?

da blinkt ja alles auf :/
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

trucidare

Gernot deine libGLBasicGP2X.a ist leer. Bitte überprüfen.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC