Search found 11 matches
- Mon Dec 19, 2016 5:05 am
- Forum: SNESdev
- Topic: 16-bit pointers on the SPC-700
- Replies: 17
- Views: 7723
Re: 16-bit pointers on the SPC-700
Thanks for all your replies! Very helpful and interesting to read.
- Tue Dec 13, 2016 5:49 am
- Forum: SNESdev
- Topic: 16-bit pointers on the SPC-700
- Replies: 17
- Views: 7723
Re: 16-bit pointers on the SPC-700
Sorry, I replied too quickly, before completely understanding your answer. So I guess indirection is possible! As long as I store the address in zero page 
- Tue Dec 13, 2016 5:28 am
- Forum: SNESdev
- Topic: 16-bit pointers on the SPC-700
- Replies: 17
- Views: 7723
Re: 16-bit pointers on the SPC-700
I am not sure it needs to be page0 or page1, but I guess it is like the 6502, where 16 Bit indirect addressing only works in zero-page That's the problem I'm referring to. Only 8-bit indirect addressing is available (for pages 0 and 1). How would I go about to use indirection for any location in RA...
- Tue Dec 13, 2016 4:48 am
- Forum: SNESdev
- Topic: 16-bit pointers on the SPC-700
- Replies: 17
- Views: 7723
16-bit pointers on the SPC-700
Hi, does anyone have experience of working with 16-bit pointers on the SPC-700? From what I can tell by reading the manual, there is no such addressing mode. (I'm not referring to absolute addressing.) I can't get my head around writing even something as simple as a memory clear routine. How would I...
- Wed Jul 27, 2016 2:34 am
- Forum: GBDev
- Topic: Timing of LYC==0
- Replies: 4
- Views: 3862
Re: Timing of LYC==0
Thanks!
It seems LYC==0 is early by a time corresponding to about one scanline, compared to the other LYC interrupts.
This loop in the beginning of the interrupt at row zero puts it into phase:
(cgb double speed)
It seems LYC==0 is early by a time corresponding to about one scanline, compared to the other LYC interrupts.
This loop in the beginning of the interrupt at row zero puts it into phase:
Code: Select all
ld a,56
loop:
dec a
jr nz,loop
- Tue Jul 26, 2016 4:05 am
- Forum: GBDev
- Topic: Timing of LYC==0
- Replies: 4
- Views: 3862
Timing of LYC==0
Hi,
does anyone know whether the horizontal timing of the LYC interrupt at Y==0 is different to other rows?
It seems the timing, (the number of cycles before the row graphics is shown) is consistent for all rows but the first. At Y==0 the interrupt seems to occur somewhat earlier.
Cheers
does anyone know whether the horizontal timing of the LYC interrupt at Y==0 is different to other rows?
It seems the timing, (the number of cycles before the row graphics is shown) is consistent for all rows but the first. At Y==0 the interrupt seems to occur somewhat earlier.
Cheers
- Fri May 29, 2015 3:05 am
- Forum: GBDev
- Topic: graphics conversion tools
- Replies: 2
- Views: 3121
Re: graphics conversion tools
Nice! Good thing it was so easy to make it work on your platform. I actually ever ran it on windows xp.
- Tue May 19, 2015 4:24 am
- Forum: GBDev
- Topic: graphics conversion tools
- Replies: 2
- Views: 3121
graphics conversion tools
I decided to release the graphics conversion tools I made for the "It Came from Planet Zilog" demo. Here's a link:
https://bitbucket.org/revelj/cgb-tools
Cheers,
Dalton
https://bitbucket.org/revelj/cgb-tools
Cheers,
Dalton
- Sun Aug 24, 2014 6:00 am
- Forum: SNESdev
- Topic: wdc816cc bank number from long address?
- Replies: 5
- Views: 2247
Re: wdc816cc bank number from long address?
Well, my problem is not so much finding out where stuff is located (not yet, at least). But the thing is that I wish to avoid the over-complicated construct generated by the compiler in this situation. far void *my_pointer; unsigned char my_bank; my_pointer = (far void *)0x123456; my_bank = (unsigne...
- Sun Aug 24, 2014 12:41 am
- Forum: SNESdev
- Topic: wdc816cc bank number from long address?
- Replies: 5
- Views: 2247
Re: wdc816cc bank number from long address?
Thank you for your reply! I've had very little luck contacting WDC before :( Even when I asked about purchasing software they did not reply. To be more specific about what I'm trying to do, I have this function which copies data to vram: #define L(x) ((uint8_t)((x)&255)) #define H(x) ((uint8_t)(...
- Sat Aug 23, 2014 1:12 pm
- Forum: SNESdev
- Topic: wdc816cc bank number from long address?
- Replies: 5
- Views: 2247
wdc816cc bank number from long address?
Hi, does anybody know if it's possible to get the bank number from a statically allocated address in wdc 816 c compiler? When I use the shift operator to get the bank number from the 8 high bits of the 24-bit address, then the compiler generate some 24-bit arithmetics code, even though the result of...