x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Compilepalooza!

« Prev 1 2 3 4 5 6 7 8 9 10 Next »
C:Amie Page Icon Posted 2022-12-11 4:14 PM
#
Avatar image of C:Amie
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.
 Top of the page
torch Page Icon Posted 2022-12-11 4:24 PM
#
Avatar image of torch
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 }
 Top of the page
I dunk for bananas Page Icon Posted 2022-12-11 4:27 PM
#
Avatar image of I dunk for bananas
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.
 Top of the page
C:Amie Page Icon Posted 2022-12-11 4:32 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
17,950
Location:
United Kingdom
Status:
No, torch is using the older tooling
 Top of the page
torch Page Icon Posted 2022-12-11 4:45 PM
#
Avatar image of torch
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
 Top of the page
I dunk for bananas Page Icon Posted 2022-12-11 5:58 PM
#
Avatar image of I dunk for bananas
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
 Top of the page
C:Amie Page Icon Posted 2022-12-11 6:17 PM
#
Avatar image of C:Amie
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.
 Top of the page
I dunk for bananas Page Icon Posted 2022-12-11 6:19 PM
#
Avatar image of I dunk for bananas
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
----------------
Attachments IMG_20221211_191757.jpg (89KB - 0 downloads)
 Top of the page
torch Page Icon Posted 2022-12-12 12:45 AM
#
Avatar image of torch
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
 Top of the page
I dunk for bananas Page Icon Posted 2022-12-12 1:01 AM
#
Avatar image of I dunk for bananas
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
 Top of the page
torch Page Icon Posted 2022-12-12 5:42 AM
#
Avatar image of torch
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
 Top of the page
C:Amie Page Icon Posted 2022-12-12 8:28 AM
#
Avatar image of C:Amie
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
 Top of the page
I dunk for bananas Page Icon Posted 2022-12-12 5:21 PM
#
Avatar image of I dunk for bananas
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?
 Top of the page
C:Amie Page Icon Posted 2022-12-12 5:52 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
17,950
Location:
United Kingdom
Status:
At least that explains my perplexion over why it didn't work
 Top of the page
I dunk for bananas Page Icon Posted 2022-12-13 7:44 PM
#
Avatar image of I dunk for bananas
H/PC Elite

Posts:
681
Location:
Europe
Status:
I've compiled Brandy BASIC for x86, it works fine!
 Top of the page
« Prev 1 2 3 4 5 6 7 8 9 10 Next »
Jump to forum:
Seconds to generate: 0.242 - Cached queries : 73 - Executed queries : 9