|
Administrator H/PC Oracle Posts: | 17,950 |
Location: | United Kingdom | Status: | |
| Try the flipped and unflipped 550 first and we'll go from there.
I dunk for bananas should download the tooling and build them directly, it would be a lot faster. |
|
|
|
Subscribers H/PC Guru Posts: | 5,661 |
Location: | United States | Status: | |
| Quote C:Amie - 2022-12-10 8:19 AM
As it is drawing into a canvas, it looks as though the consideration should be over the window frame size perhaps rather than the screen size as it is disappearing beneath the taskbar (which would be 720x550 ).
#define SIMPLE_565 { 720, 550, 2, 1440, 16, kfDirect | kfDirect565, TRUE }
I am surprised though that it hasn't filled the full screen. I wonder if that is because computationally the Pocket PC is drawing yx instead of xy.
So try flipping the draw order around too:
#define SIMPLE_565 { 550, 720, 2, 1440, 16, kfDirect | kfDirect565, TRUE } |
|
|
|
H/PC Elite Posts: | 681 |
Location: | Europe | Status: | |
| Quote C:Amie - 2022-12-11 4:14 PM
I dunk for bananas should download the tooling and build them directly, it would be a lot faster.
That's a great idea I think. It's just this and this, right? I would be installing all that into an XP vm. |
|
|
|
Administrator H/PC Oracle Posts: | 17,950 |
Location: | United Kingdom | Status: | |
| No, torch is using the older tooling |
|
|
|
Subscribers H/PC Guru Posts: | 5,661 |
Location: | United States | Status: | |
| Until you figure out the vm, I don’t mind doing it for now. Just let me know what other values to try |
|
|
|
H/PC Elite Posts: | 681 |
Location: | Europe | Status: | |
| I got it all set up! Sadly I wasn't able to get any further with our gx.dll, it's either the same result as before or I get an illegal application error. As for itaskmgr, it seems like the toolhelp.lib we have for x86 isn't compatible with it at all and I get linking errors |
|
|
|
Administrator H/PC Oracle Posts: | 17,950 |
Location: | United Kingdom | Status: | |
| Can you provide a proper screenshot of the best working version so far please. |
|
|
|
H/PC Elite Posts: | 681 |
Location: | Europe | Status: | |
| Oh my absolute god, I got it to WORK. This is what ended up working:
#define SIMPLE_565 { 720, 576, 2, 1440, 16, kfDirect | kfDirect565, TRUE }
I just tried changing every little bit of the line until I found something that worked. Gods. (IMG_20221211_191757.jpg) Attachments ---------------- IMG_20221211_191757.jpg (89KB - 0 downloads) |
|
|
|
Subscribers H/PC Guru Posts: | 5,661 |
Location: | United States | Status: | |
| Quote I dunk for bananas - 2022-12-11 10:58 AM
I got it all set up! Sadly I wasn't able to get any further with our gx.dll, it's either the same result as before or I get an illegal application error. As for itaskmgr, it seems like the toolhelp.lib we have for x86 isn't compatible with it at all and I get linking errors
We have this in SCL. Developer still is around and is very friendly
https://www.hpcfactor.com/scl/241/Viktor_Toth/Windows_CE_Task_Manage...
Obviously not free tho |
|
|
|
H/PC Elite Posts: | 681 |
Location: | Europe | Status: | |
| I'll look into it, thank you!
I managed to compile the SMTP server from Ishisoft, I shall evaluate that tomorrow |
|
|
|
Subscribers H/PC Guru Posts: | 5,661 |
Location: | United States | Status: | |
| Perfect!
Also slightly unrelated, where do we find how to get/compile/do this?
They made a video for MIPS CE too |
|
|
|
Administrator H/PC Oracle Posts: | 17,950 |
Location: | United Kingdom | Status: | |
| Quote I dunk for bananas - 2022-12-11 6:19 PM
Oh my absolute god, I got it to WORK. This is what ended up working:
#define SIMPLE_565 { 720, 576, 2, 1440, 16, kfDirect | kfDirect565, TRUE }
I just tried changing every little bit of the line until I found something that worked. Gods.
er... but that was what the first one I sent was....
Quote C:Amie - 2022-12-10 11:46 AM
So if we reverse engineer that logic for 720x576 and we assume that there isn't a cache at the end of the stride row, the correct values to compensate for the pitch stride should be:
#define SIMPLE_565 { 720, 576, 2, 1440, 16, kfDirect | kfDirect565, TRUE }
If you drop it down to 550, it shouldn't go under the taskbar |
|
|
|
H/PC Elite Posts: | 681 |
Location: | Europe | Status: | |
| Quote C:Amie - 2022-12-12 8:28 AM
Quote I dunk for bananas - 2022-12-11 6:19 PM
Oh my absolute god, I got it to WORK. This is what ended up working:
#define SIMPLE_565 { 720, 576, 2, 1440, 16, kfDirect | kfDirect565, TRUE }
I just tried changing every little bit of the line until I found something that worked. Gods.
er... but that was what the first one I sent was....
Yeah didn't torch try that at first? |
|
|
|
Administrator H/PC Oracle Posts: | 17,950 |
Location: | United Kingdom | Status: | |
| At least that explains my perplexion over why it didn't work |
|
|
|
H/PC Elite Posts: | 681 |
Location: | Europe | Status: | |
| I've compiled Brandy BASIC for x86, it works fine! |
|
|