Search found 17 matches

by lillapojkenpåön
Wed Jan 01, 2020 10:14 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

I PM'd Kazade and someone else and asked how to install and use GLdc and ALdc with dreamSDK, but I never got an answer, if someone gets that working please let me know how. I think I got pretty close but still got some errors.. Thanks.
by lillapojkenpåön
Sun Oct 13, 2019 1:06 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

Thank you! I thought that spritesheet example looked awesome but was discouraged by the glitching sprite at the bottom, and I don't really get what that text below means, how I position the sprites on screen or how the sprites are positioned in the spritesheet? and what is implemented in the tutoria...
by lillapojkenpåön
Mon Oct 07, 2019 12:54 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

First up, you need to understand how old televisions worked, and how consoles interfaced with them back in the day. The television runs independently of the game console as a form of 1-way communication, there is no way for the console to tell the television it's ready to draw, it's the other way a...
by lillapojkenpåön
Sun Oct 06, 2019 12:18 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

I downloaded nullDC to get console output, and everything works perfect, so apparently I've been trying to solve something for 20 days that the redream devs should solve... And the timer/sleep code I posted is even more stable than using vid_waitvbl(); I'm a little confused now tho, since redream sh...
by lillapojkenpåön
Sat Oct 05, 2019 1:55 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

I start by placing the square at x 50 and y 50, it's suppose to move and change color but it's just one color and doesn't move.. bandicam 2019-10-05 08-22-37-427.jpg ..Until after 20 seconds when suddenly bandicam 2019-10-05 08-23-00-668.jpg and after another 20 seconds bandicam 2019-10-05 08-23-24-...
by lillapojkenpåön
Fri Oct 04, 2019 9:27 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

After googeling and searching this site for delay, timer, framerate, timer_ms_gettime64 and looking at http://gamedev.allusion.net/docs/kos-2.0.0/timer_8h.html#ad4eba3c192954167d407c1611d557a6e and trying to find sources or examples that uses timer_ms_gettime64 to slow things down I found very littl...
by lillapojkenpåön
Wed Oct 02, 2019 5:56 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

nevermind the last question, I've read the forum for several hours and gonna try simulant, since I can't even get this square to do what I want I feel like that is the only logical next step :P
by lillapojkenpåön
Tue Oct 01, 2019 10:31 pm
Forum: Programming Discussion
Topic: DreamSDK R3 is now available!
Replies: 37
Views: 9665

Re: DreamSDK R2 is now available

Is it possible for you to change codeblocks to a dark theme in R3? might be impossible?
by lillapojkenpåön
Tue Oct 01, 2019 10:22 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

Ok, as I said I'm a noob, but now I know that the size of int and other types depends on the cpu and aren't 8 bits like I thought. I gave it another try and now trying to control the square with the d-pad, but it moves at the speed of light and when it hits my boundary it goes another direction like...
by lillapojkenpåön
Fri Sep 20, 2019 2:22 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

I've tried everything :( does the while loop loop once a frame?
by lillapojkenpåön
Fri Sep 20, 2019 9:56 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

Thanks, I just noticed that the tutorial I'm looking at has stuff like if((x >= 0) && (x < 640) && (y >= 0) && (y < 480)) vram_s[x + (y * 640)] = PACK_PIXEL(r, g, b); but it never mentions x and y being anything other than regular integers I think, so why check if they are sm...
by lillapojkenpåön
Thu Sep 19, 2019 4:55 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

Yes I do read them and google them. kos init is before main in the codeblocks template when starting a new dreamcast project, and if I put it inside I get a warning warning: unused variable '__kos_init_flags' [-Wunused-variable] Are you sure? Seems weird if the template is wrong. vid_set_mode obviou...
by lillapojkenpåön
Thu Sep 19, 2019 1:53 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

That probably explains why I only got a black screen on that one, I'm just trying to draw a colored pixel on the screen now but vid_set_mode gives an error, indented or not, and if I remove it it's a black screen in redream. #define PACK_PIXEL(r, g, b) ( ((r & 0xF8) << 8) | ((g & 0xFC) << 3)...
by lillapojkenpåön
Wed Sep 18, 2019 9:52 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

No I had not read it, I found some commands I'm suppose to enter in the DreamSDK shell 1 Converting the ELF file to a scrambled binary. 2 Generate the scrambled binary, usually called 1ST_READ.BIN. 3 Making a bootstrap file (usually called IP.BIN). 4 Making the selfboot image. 1 cd <your_program_dir...
by lillapojkenpåön
Tue Sep 17, 2019 8:26 pm
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Re: Noob question thread

Thank you! Can redream play the .elf? redream launches but just to a welcome screen,
in the DreamSDK manager under the emulator path I put the path to the .elf as argument, is that correct?

If I want a cdi file, do I have to do it manually with discjuggler?
by lillapojkenpåön
Tue Sep 17, 2019 8:29 am
Forum: Programming Discussion
Topic: Noob question thread
Replies: 23
Views: 2507

Noob question thread

Hello, I'm new to DC programming, installed DreamSDK, but when I try to compile and run the source it creates automaticly, it says "The selected target is a Debug target, please select the Release target if you want to run the project" What am I suppose to change? Is there any super simple...
by lillapojkenpåön
Mon Sep 16, 2019 4:57 pm
Forum: Programming Discussion
Topic: DreamSDK R3 is now available!
Replies: 37
Views: 9665

Re: DreamSDK R2 is now available

Wow, thanks so much for this, this is sick! you have no idea how many times I've thought about installing KOS and given up when looking at the installation tutorial. I also got a no such file or directory for romdisk.o and the pre build thing was missing for me to even when I created a project with ...