It is currently Sun Jun 24, 2018 5:56 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Wed Jan 24, 2018 8:15 pm 
Offline

Joined: Fri Jul 04, 2014 9:31 pm
Posts: 926
psycopathicteen wrote:
If a routine uses a small LUT, I would like to keep it in the same bank as the routine, and be able to access it with short absolute addressing.

Not sure what you're getting at here. Isn't it fairly simple to have the assembler put the LUT in a different bank? Ideally the one you're aiming the data bank register at, which would be in a LoROM region in order to retain access to MMIO and shadow RAM.

I've used the "put the LUT in the code segment and just jump over it" trick before, but it's hardly good practice for a game...


Top
 Profile  
 
PostPosted: Mon Apr 02, 2018 8:07 pm 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2696
I'm really close to having a mid level mode-7 switch in my game. I will have to use only 128 tiles during the transition in order to fit the normal tile set in though.


Top
 Profile  
 
PostPosted: Wed Apr 11, 2018 6:04 pm 
Offline

Joined: Mon Apr 09, 2018 5:12 pm
Posts: 1
That's because there are so many updates on the programming world, the competition is too tight and clients are demanding.


Top
 Profile  
 
PostPosted: Thu Apr 26, 2018 5:34 am 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2696
Multiplication is really getting on my nerves. Would it have killed them to add a signed 16x16 multiplication?


Top
 Profile  
 
PostPosted: Thu Apr 26, 2018 7:36 pm 
Offline

Joined: Fri Jul 04, 2014 9:31 pm
Posts: 926
psycopathicteen wrote:
Would it have killed them to add a signed 16x16 multiplication?

You never know with Japan...

http://thekyotoproject.org/english/chion-in/

Quote:
There is also a coffin constructed of plain wood, Shiraki-no-kan, beneath the statue, which symbolizes the burial place for Gomi Kinuemon and his wife, who killed themselves by the sword to take responsibility of the soaring costs of building such an enormous gate.


It's easy to say they should just have gone full SA-1 from the start, but hindsight is 20:20, 1990 != 1995, and budgets are budgets...

I mean, why doesn't the Switch have a 16 nm SOC with A72 cores and 3 SMs, 6 GB RAM, and analog triggers? (Seriously, though, why doesn't it have analog triggers?)

...

Have you got a couple of free banks for a signed 8x8 lookup table? Or would that not be worth it?

If you really got mad, you could just say **** it and use the MSU1 for a 16x16 lookup table...


Top
 Profile  
 
PostPosted: Fri Apr 27, 2018 12:29 am 
Offline

Joined: Tue Oct 06, 2015 10:16 am
Posts: 748
I seem to recall it's easy to emulate signed mult with unsigned.


Top
 Profile  
 
PostPosted: Fri Apr 27, 2018 9:03 am 
Offline

Joined: Tue Feb 07, 2017 2:03 am
Posts: 449
take the EOR of the two values, MSB. Then ABS both, mul, if EOR result is 1, negate the result.


Top
 Profile  
 
PostPosted: Fri Apr 27, 2018 12:09 pm 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2696
Specifically, I'm trying to do collision detection with a mode 7 rotating room. I determined that I need at least 10 bits of precision.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 68 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group