Commit Graph

400 Commits

Author SHA1 Message Date
Dave Murphy
b3f8a99426 use new image 2014-12-19 10:07:28 +00:00
Dave Murphy
2177ad8619 replace picture with something nicer 2014-12-16 17:13:46 +00:00
Dave Murphy
de38b29ed4 check for ImageMagick and fail gracefully 2014-12-15 15:39:16 +00:00
Aurelio92
83cdef027a Merge pull request #1 from WinterMute/example-24bit_Bitmap
Example 24bit bitmap
2014-12-15 13:52:03 +01:00
Dave Murphy
cbb00e413d Automate graphics conversion
Makefile:

- Don't set DATA, we're no longer embedding files from there directly

- Add folders from GRAPHICS to VPATH. This is how make finds the source files

- Add PNGFILES variable containing all png files from GRAPHICS folders

- Add png files to OFILES with extension changed to rgb.o

- Add rule to create .rgb.o fromn .rgb using normal bin2o macro

- Add rule to create .rgb from .png using imagemagick

source/main.c

- the extension has changed to .rgb so the header is now <filename>_rgb.h and the variables end in _rgb
2014-12-15 12:35:03 +00:00
Dave Murphy
75d62ef1e3 delete generated bin file, move png to gfx folder 2014-12-15 11:59:54 +00:00
Aurelio Mannara
31dfb6a92e Used *.c extension and lower case dir name 2014-12-15 09:29:33 +01:00
Aurelio Mannara
fd3d64aa16 Used *.c extension and lower case dir name 2014-12-15 09:14:46 +01:00
Aurelio Mannara
6218327628 Added 24bit Bitmap example
This example shows how to draw a 24bit bitmap on bottom screen
2014-12-14 18:03:27 +01:00
Dave Murphy
478d11f468 render strikethrough & underline 2014-12-13 03:19:57 +00:00
Dave Murphy
7bcd9b2270 make it build 2014-12-13 03:11:21 +00:00
Dave Murphy
b05f574889 fix formatting 2014-12-13 03:07:41 +00:00
Dave Murphy
5c64201fa5 unneeded default case 2014-12-13 03:07:00 +00:00
Dave Murphy
94591dc5f7 better parameter checking 2014-12-13 02:58:07 +00:00
Dave Murphy
2de946890d support more codes 2014-12-13 02:51:57 +00:00
Dave Murphy
28ef35f4a6 intialise parameter, ignore unsupported escapes 2014-12-13 02:40:25 +00:00
Dave Murphy
e8df59be59 check parameters are valid as we parse 2014-12-13 02:32:21 +00:00
Dave Murphy
49200b8b96 use switch for 'm' parameters 2014-12-13 02:24:24 +00:00
Dave Murphy
6a36d31568 use 3 intensity levels 2014-12-13 02:21:50 +00:00
Dave Murphy
493d7dc55a add macro to convert 8bit RGB to RGB565 2014-12-12 22:57:24 +00:00
Dave Murphy
a39890ef48 allow console on either screen 2014-12-12 13:43:40 +00:00
Dave Murphy
d6a58d4a2f fix scroll size 2014-12-12 13:40:54 +00:00
Dave Murphy
35307ad5f2 use word copy for extra speed in console scroll 2014-12-12 12:18:00 +00:00
Dave Murphy
c0a0ec1fb2 fix console scrolling 2014-12-12 12:05:45 +00:00
Dave Murphy
382f1320ce lighten up half bright green 2014-12-12 10:58:16 +00:00
Dave Murphy
5fe960fda0 fix color code scanning 2014-12-12 09:58:14 +00:00
smea
7d8a27fe14 Merge pull request #50 from yuriks/memperm-dontcare
Add MEMPERM_DONTCARE to MemPerm
2014-12-11 19:18:48 -08:00
Dave Murphy
a645436ebe add console 2014-12-12 00:24:08 +00:00
Dave Murphy
bc980fb34d use correct doubleBuf variable 2014-12-12 00:16:23 +00:00
Dave Murphy
36e3a3de3a add macro for building RGB565 colors 2014-12-11 23:03:29 +00:00
Dave Murphy
1a575891eb allow independent setting of double buffering 2014-12-11 22:24:15 +00:00
Yuri Kunde Schlesner
46c0a1763c Add MEMPERM_DONTCARE to MemPerm 2014-12-11 16:44:09 -02:00
mtheall
20d4e95dfd Make soc_fcntl.c more sane. 2014-12-11 08:33:26 -06:00
fincs
d486a0ffc6 Correct SHDR_GetUniformRegister [WARNING: aemstro_as **doesn't** output this field correctly] 2014-12-11 00:01:34 +01:00
fincs
1844295bfd Minor correction 2014-12-10 11:00:40 +01:00
Dave Murphy
c60bb132b1 Merge pull request #49 from archshift/createfile
Added CreateFile implementation, tested on hardware.
2014-12-10 09:23:18 +00:00
archshift
3da1a19f0c Added CreateFile implementation, tested on hardware.
Information about using CreateFile was taken from Steel Diver: Sub Wars with the wonderful help of Citra.
2014-12-10 00:33:08 -08:00
smea
0a78fb140c Merge pull request #48 from endrift/master
Fix copy/paste error in FSFILE_Write documentation
2014-12-09 22:30:27 -08:00
Jeffrey Pfau
31a8beb120 Fix copy/paste error in FSFILE_Write documentation 2014-12-09 22:20:31 -08:00
smea
1322d44f22 Merge branch 'master' of github.com:smealum/ctrulib 2014-12-09 21:49:30 -08:00
smea
c282d4262e temporary solution for 0x10 byte gpucmd alignment
fixes A LOT of gpu related issues

(temporary solution because big gpu refactor is coming soon)
2014-12-09 21:49:18 -08:00
Dave Murphy
88bef35b8f set default device so relative paths work in 3dmoo 2014-12-08 23:21:46 +00:00
fincs
4b4b781ec3 Minor code formatting fix in svc.s 2014-12-09 00:15:04 +01:00
smea
56d3d79eae Merge pull request #44 from Subv/master
SVC: Implemented svcGetThreadId
2014-12-08 15:09:11 -08:00
Subv
e0bf993fd9 Styling 2014-12-08 18:05:46 -05:00
Subv
a2d2f4483e SVC: Implemented svcGetThreadId 2014-12-08 18:04:31 -05:00
smea
a9f68cde3b Merge pull request #45 from Subv/semaphores
Added svcReleaseSemaphore and svcCreateSemaphore
2014-12-08 15:02:19 -08:00
mtheall
f02082048f Update poll.h 2014-12-08 16:19:07 -06:00
mtheall
8536e1e6ef Update poll.h 2014-12-08 12:12:34 -06:00
fincs
b5723c9209 Add gfxSetDoubleBuffering() for disabling double-buffering 2014-12-08 15:57:39 +01:00