View unanswered posts | View active topics It is currently Mon Feb 27, 2017 9:51 am

Search found 209 matches
Search these results:

Author Message

 Forum: libctru   Topic: V/G shader to properly generate rectangle from 1-2 vertices

Posted: Sun Mar 08, 2015 4:31 am 

Replies: 3
Views: 2780

This approach is simply not going to work for affine transformations. Your geoshader assumes that the two added vertices are axis-aligned with the two input vertices, which is simply not true for affine transformations (except for obvious cases like 90 degree rotation or horizontal flip, among other...

 Forum: libfat   Topic: stat() no working properly on another dir than the CWD

Posted: Fri Sep 06, 2013 3:48 pm 

Replies: 3
Views: 4019

Well, here is something similar. Make sure you are checking for errors! #include <stdio.h> #include <dirent.h> #include <sys/stat.h> #include <string.h> #include <unistd.h> int myReaddir(const char *Path) { static char path[PATH_MAX]; struct dirent *dent; struct stat st; DIR *dp; char *p, *end = pat...

 Forum: devkitPPC   Topic: pipe functions

 Post subject: Re: pipe functions
Posted: Wed Aug 21, 2013 3:16 pm 

Replies: 2
Views: 4018

This is probably popen creates a new process ('sort' in your case). I doubt there is process management from a homebrew perspective, let alone processes. In this specific case you may want to replace this code with an actual sort that doesn't rely on an external program. You said PARI/GP relies heav...

 Forum: libnds   Topic: Garbage on top of screen when dissplaying text on background

Posted: Tue Jul 16, 2013 3:51 pm 

Replies: 4
Views: 5088

There is no attachment. Can you provide the lines of code which set up VRAM and you backgrounds? You can also try to fill in this worksheet and provide a link to your configuration.

 Forum: libnds   Topic: Newb question, how to display text at x y location

Posted: Tue Jul 16, 2013 3:32 pm 

Replies: 2
Views: 3128

Well that's easy.

iprintf("\x1b[%d;%dHRandom Text", locationx, locationy);

You may have to switch x and y. I don't remember which order it goes in.

 Forum: devkitARM   Topic: Help with example projects keyboard and both screens ?

Posted: Mon Jul 01, 2013 4:56 pm 

Replies: 2
Views: 4847

I made an example for you: ... r/keyboard

 Forum: libnds   Topic: Problem Setting Up Backgrounds and VRAM

Posted: Mon Feb 25, 2013 4:23 pm 

Replies: 4
Views: 4931

This is sort of a duplicate of this post, but with these settings, but in this example VRAM_B is correctly mapped to account for going over the 128KB boundary. This setup should not be experiencing artifacts, so we may need more info about what you're doing (maybe paste the code where you're drawing).

 Forum: libnds   Topic: Setting up VRAM banks

 Post subject: Re: Setting up VRAM banks
Posted: Mon Feb 25, 2013 4:14 pm 

Replies: 3
Views: 4859

These are the settings you have, and these are probably the settings you want. In the first, you are going over the 128KB boundary, so this won't work unless you have VRAM_A and VRAM_B set to MAIN_BG. Notice how the map base for bitmap backgrounds is an offset into VRAM in 16KB chunks. The map base...

 Forum: libnds   Topic: Setting up VRAM banks

 Post subject: Re: Setting up VRAM banks
Posted: Mon Feb 25, 2013 4:10 pm 

Replies: 3
Views: 4859

Try this worksheet

 Forum: devkitARM   Topic: need help for compiling 1st hello wolrd program

Posted: Mon Feb 18, 2013 5:24 pm 

Replies: 3
Views: 4203

This code compiles fine for me. Are you using the latest devkitARM and libnds? Can you show the complete make output (and not just the errors)?
Sort by:  
Page 1 of 21 [ Search found 209 matches ]

Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at Fast, secure and Free Open Source software downloads