Search found 189 matches
- Wed Jul 28, 2010 9:11 pm
- Forum: Programming Discussion
- Topic: Widescreen mode and kos ?
- Replies: 39
- Views: 10673
Re: Widescreen mode and kos ?
^ You're right but it still flickers. Is the main goal only to get this to work on computer screens or regular ntsc tv's as well?
- Wed Jul 28, 2010 7:42 pm
- Forum: Programming Discussion
- Topic: Networking with the BBA
- Replies: 7
- Views: 1217
Re: Networking with the BBA
edit: NVM you fixed problem
- Wed Jul 28, 2010 6:16 pm
- Forum: Programming Discussion
- Topic: Widescreen mode and kos ?
- Replies: 39
- Views: 10673
Re: Widescreen mode and kos ?
Have you create a directory "romdisk" and put the resol.png in ? Do you use the makefile I posted ? When you launch "make", does it create a "romdisk.img" ? Yes, Yes, Yes EDIT: Added #include <kos.h> to your headers and the makefile I used: TARGET = dcp.elf OBJS = reso...
- Wed Jul 28, 2010 2:49 pm
- Forum: Programming Discussion
- Topic: Widescreen mode and kos ?
- Replies: 39
- Views: 10673
Re: Widescreen mode and kos ?
-- KallistiOS ##version##: Sun Jul 18 03:15:42 PDT 2010 THE HOODSTA@home-9jedm11dwa:/usr/local/dc/kos/kos thd: pre-emption enabled, HZ=100 maple: active drivers: Dreameye (Camera): Camera Sound Input Peripheral: Microphone PuruPuru (Vibration) Pack: JumpPack VMU Driver: Clock, LCD, MemoryCard Mouse...
- Sun Jul 25, 2010 7:02 pm
- Forum: Programming Discussion
- Topic: Networking with the BBA
- Replies: 7
- Views: 1217
Re: Networking with the BBA
I was just wondering. Did you get an unhandled exception when your DC crashed? In the future you could do what they did in this thread: viewtopic.php?f=29&t=47741&start=0&st=0 ... +exception
- Wed Jul 21, 2010 10:50 pm
- Forum: Programming Discussion
- Topic: Drawing rgb565 image in output_buffer using PVR
- Replies: 28
- Views: 9045
Re: Drawing rgb565 image in output_buffer using PVR
Probably should have told you that in the beginning: viewtopic.php?p=1009854#p1009854
Did you do any DMA stuff yet?
Did you do any DMA stuff yet?
- Wed Jul 21, 2010 2:59 pm
- Forum: Programming Discussion
- Topic: __attribute__
- Replies: 7
- Views: 989
Re: __attribute__
I would get an error since
Code: Select all
const char *pPtr = pBuffer;
MilkshapeModel.cpp:141: error: invalid conversion from `const char*' to `const u
nsigned char*'
- Wed Jul 21, 2010 12:53 am
- Forum: Programming Discussion
- Topic: __attribute__
- Replies: 7
- Views: 989
Re: __attribute__
Wow, I would never figured that out. Thanks again BlueCrab.
btw, I got errors but the following code worked. For anybody who has the same problem.
btw, I got errors but the following code worked. For anybody who has the same problem.
Code: Select all
static inline word read_word(const char *ptr) { // changed from byte to char
return ((word)(*ptr)) | (((word) *(ptr + 1)) << 8);
}
- Tue Jul 20, 2010 9:16 pm
- Forum: Programming Discussion
- Topic: __attribute__
- Replies: 7
- Views: 989
Re: __attribute__
I think you may be right about it never failing. This time I ran dc-tool-ip and sent the output to log.txt file. This is the output: -- pvr: enabling vertical scaling for non-VGA Unhandled exception: PC 8c010ebc, code 1, evt 00e0 R0-R7: 8c11c020 00000000 8c03c2e0 8c0cfe94 8c11bf20 00000000 8c11bf40 ...
- Tue Jul 20, 2010 3:11 pm
- Forum: Programming Discussion
- Topic: __attribute__
- Replies: 7
- Views: 989
__attribute__
I am having trouble getting PLX lesson 30(NeHe lesson 31) to work on the Dreamcast. I ported it and was able to get it to work on the NullDC emulator but when I load it into the Dreamcast it immediately closes because it can't load the milkshape model. I have tracked down the problem to the followin...
- Sun Jul 18, 2010 4:34 pm
- Forum: Programming Discussion
- Topic: Drawing rgb565 image in output_buffer using PVR
- Replies: 28
- Views: 9045
Re: Drawing rgb565 image in output_buffer using PVR
I seriously doubt you're using a twiddled texture (as the example code that was posted assumed). Wouldn't the pvr_txr_load_ex() function twiddle it for him? pvr_poly_cxt_txr(&Image_context, PVR_LIST_OP_POLY, PVR_TXRFMT_ARGB1555 | PVR_TXRFMT_NONTWIDDLED, Image_width, Image_height, Image_data, PV...
- Sun Jul 18, 2010 4:19 am
- Forum: Programming Discussion
- Topic: Drawing rgb565 image in output_buffer using PVR
- Replies: 28
- Views: 9045
Re: Drawing rgb565 image in output_buffer using PVR
I think my problem is Im not sure exactly what parameter to pass here. //rawimagedata is the image data you have stored in memory. Is it the name of the variable that represents the location in memory? Yes, its a pointer to the raw data (decoded rgb565 frame). Make sure it is a pointer to one singl...
- Sat Jul 17, 2010 7:40 pm
- Forum: Programming Discussion
- Topic: Drawing rgb565 image in output_buffer using PVR
- Replies: 28
- Views: 9045
Re: Drawing rgb565 image in output_buffer using PVR
I'll try and help. So the image is stored in memory and it is uncompressed correct? If so, you could do something like this(pseudo code): uint16 Image_width, Image_height; pvr_poly_hdr_t Image_Header; // The thing that is submitted to the PVR before drawing pvr_poly_cxt_t Image_context; // Used to m...
- Sat Jul 17, 2010 4:00 pm
- Forum: Programming Discussion
- Topic: Transparency Problem
- Replies: 7
- Views: 1213
Re: Transparency Problem
You tested that on a dreamcast didn't you? If so I feel bad. I've been using NullDC to test. Too lazy to get my Dreamcast and hook it up. I just tested it right now the way I originally had it and it works on Dreamcast. I'm really sorry for wasting your time dude. I'll test on the Dreamcast from now...
- Sat Jul 17, 2010 2:36 pm
- Forum: Programming Discussion
- Topic: Transparency Problem
- Replies: 7
- Views: 1213
Re: Transparency Problem
Tried it and it just darkens the textures when I enable blending. No transparency occurs at all for any face of the box. I ported some drawables from Feet of Fury for Tsunami a while back including the Cube drawable. Blending works fine with it and I don't even have to do any of the "plx_cxt_bl...
- Sat Jul 17, 2010 4:24 am
- Forum: Programming Discussion
- Topic: Transparency Problem
- Replies: 7
- Views: 1213
Re: Transparency Problem
I thought of that blending mode of the context already. I think there might be a bug in the PLX library because by default the plx library creates it's context by the pvr_poly_cxt_col(pvr_poly_cxt_t *dst, pvr_list_t list) function which does this: dst->blend.src_enable = PVR_BLEND_DISABLE; dst->blen...
- Fri Jul 16, 2010 8:53 pm
- Forum: Programming Discussion
- Topic: Transparency Problem
- Replies: 7
- Views: 1213
Transparency Problem
I'm trying to port the NeHe OpenGL lessons to Dreamcast using the PLX (Parallax) library located in kos-ports. For NeHe lesson 8 (Blending: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=08) I have to get a cube to be transparent. The problem that I am having is that which ever face of the c...
- Sat Jun 12, 2010 4:17 pm
- Forum: Programming Discussion
- Topic: Sprite Questions (Parallax)
- Replies: 2
- Views: 1017
Re: Sprite Questions (Parallax)
http://dcemulation.org/phpBB/viewtopic.php?f=29&t=83923&start=0&st=0&sk=t&sd=a&hilit=parallax+rotation I used to work a lot with the parallax library but forgot how it works since I haven't really programmed at all for a long time. If no body answers this I will tell you with...
- Sun Mar 21, 2010 11:53 am
- Forum: Developmental Ideas
- Topic: LuaPlayer for Dreamcast
- Replies: 7
- Views: 2983
Re: LuaPlayer for Dreamcast
Sorry, I haven't gotten to it. I will try and port it this summer if I have nothing else to do.
- Sun Jan 03, 2010 4:15 pm
- Forum: Developmental Ideas
- Topic: LuaPlayer for Dreamcast
- Replies: 7
- Views: 2983
LuaPlayer for Dreamcast
Would anybody be interested in a port of LuaPlayer to Dreamcast?
I could try and port it. Is there anything I should be aware off that would make it unportable to the Dreamcast so I don't waste my time in trying?
I could try and port it. Is there anything I should be aware off that would make it unportable to the Dreamcast so I don't waste my time in trying?