Gregory Nutt
1fbf30e6fe
apps/graphics/pdcurses and apps/examples/fb: Both assume that bits are packed MS first.
2017-11-25 13:14:28 -06:00
Gregory Nutt
f42031e65b
apps/examples/pdcurses: Add a very simple example that just shows the entire character set (7-bit only). It adapts to the size of the framebuffer and, hence, can be used with very tiny displays. In fact it looks really dumb on big displays.
2017-11-24 09:46:58 -06:00
Gregory Nutt
28f5176a0d
apps/graphics/pdcurs34: Fix a bad copy-paste error introduced in last commit.
2017-11-24 08:45:40 -06:00
Gregory Nutt
18a5e074e7
apps/graphics/pdcurs34: Fixes calculation of the final byte position of the case of BPP < 8.
2017-11-24 07:17:10 -06:00
Gregory Nutt
0d4fe9518a
NxWidgets: Move from apps/NxWidgts to apps/graphics/NxWidgets
2017-11-24 05:56:51 -06:00
Gregory Nutt
067c14ee05
apps/graphics/pdcurs34: When clearing screen, width calculation should round up for any fractional bytes. When pdcurses is closed, forgot to close the djoystick driver.
2017-11-24 05:45:06 -06:00
Gregory Nutt
a2ee61a124
apps/graphics/pdcurs34: Simply and combine some logic.
2017-11-23 16:31:37 -06:00
Gregory Nutt
421b3009e3
apps/graphics/pdcurs34: Correct logic that clears the screen. For the casee of BPP < 8, it was writing beyond the end of the framebuffer and clobbering things.
2017-11-23 09:30:14 -06:00
Gregory Nutt
611a0e4a79
apps/graphics/pdcurs34: Need to include errno.h in one file when PDC_DEBUG is enabled.
2017-11-23 08:42:03 -06:00
Gregory Nutt
dca1a3a01e
Trivial: Fix some typos in comments and debug output.
2017-11-23 07:33:26 -06:00
Gregory Nutt
0861f821fb
apps/graphics/pdcurs34: Monochrome/greylevel framebuffer support is now code complete, but untested. Also added support for Y2 and Y2 color formats.
2017-11-22 15:35:38 -06:00
Alan Carvalho de Assis
f20015b164
apps/graphics/pdcurs34: Fix missing ; typo in last commit
2017-11-22 10:47:03 -06:00
Gregory Nutt
56a7ded061
apps/graphics/pdcurses: Fix type used in last commit.
2017-11-22 09:03:44 -06:00
Gregory Nutt
691a22fc08
apps/graphics/pdcurses: Eliminate some redundant calculations.
2017-11-22 09:02:49 -06:00
Gregory Nutt
24dc1b42e4
apps/graphics/pdcurs34: Add support for greylevels vs. RGB.
2017-11-22 08:38:10 -06:00
Gregory Nutt
49dab79a30
apps/pdcur34: Define pdc_color_t based on pixel depth, not on specific color format.
2017-11-22 07:22:03 -06:00
Gregory Nutt
63e3af2d62
apps/graphics/pdcurs34: Fix or remove monst #warning's
2017-11-21 08:18:21 -06:00
Gregory Nutt
678af717c8
apps/graphics/pdcurses: Need to set the global COLORS or else all displays on monochrome.
2017-11-20 15:23:27 -06:00
Gregory Nutt
b346d1d6eb
apps/graphics/pdcurses: Add support for discrete joystick input. This is sufficient to get through all menuing tests that do not require text input.
2017-11-20 14:17:45 -06:00
Gregory Nutt
6eae5e0c4c
apps/graphics/pdcurs34: Clear the framebuffer when it is initialized.
2017-11-20 08:18:36 -06:00
Gregory Nutt
4eac495713
apps/pdcurses/: Fix a few more bugs found in testing; apps/examples/pdcurses: Brings in the remaining pdcurses demo programs.
2017-11-19 16:14:55 -06:00
Gregory Nutt
42bb5643bf
Squashed commit of the following:
...
apps/graphics/pdcur34: Various fixes from initial testing. Still does not work
apps/graphics/pdcurs34/nuttx: Completes first cut at framebuffer rendering logic.
2017-11-19 13:35:20 -06:00
Gregory Nutt
ad54b77f33
apps/graphics/pdcurs34: Add NuttX framebuffer color managment and beginning of some rendering logic.
2017-11-18 19:30:19 -06:00
Gregory Nutt
65555542e5
apps/graphics/pdcurs34/nuttx: Add framebuffer initialization logic.
2017-11-18 15:27:12 -06:00
Gregory Nutt
7664889170
apps/graphics/pdcurs34: Extend configuration to select the font size.
2017-11-18 12:11:02 -06:00
Gregory Nutt
eb065a756e
apps/examples/pdcurses: Bring pdcurses demos and make them conform to the NuttX coding style (not yet hooked into the build system).
2017-11-17 18:23:23 -06:00
Gregory Nutt
25e4f6b57b
apps/graphics/pdcurses: Add dummy files with placeholders for the logic that needs to be implemented to integrated pdcurses with NuttX.
2017-11-17 14:50:10 -06:00
Gregory Nutt
69bea27b20
Remove some dangling whitespace at the end of lines.
2017-11-17 13:23:02 -06:00
Gregory Nutt
7ba2110c83
apps/graphics/pdcurs34: This commit brings the basic public domain pdcurses library into NuttX. This library is complete but not yet usuable because it still requires the NuttX interfacing code needed hook pdcurses into the NuttX graphics drivers. Also test cases are needed to verify the pdcurses integration.
2017-11-17 13:12:59 -06:00
Gregory Nutt
4bff47a80f
graphics/traveler: Conver to use the framebuffer driver.
2017-10-16 07:13:38 -06:00
Gregory Nutt
90d4cf6ede
This removes the last traces of single-user mode.
2017-10-15 09:36:55 -06:00
Gregory Nutt
47dabf17aa
graphics/traveler: Restore most of what was removed in the previous commit. That non-standard logic is currently needed by the simulation. It should be replaced with use of a framebuffer driver.
2017-10-14 12:25:41 -06:00
Gregory Nutt
fda6713854
graphics/traveler: No longer supports single user graphics mode.
2017-10-14 11:51:58 -06:00
Gregory Nutt
7a8561728c
The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree.
2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18
All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted.
2017-08-13 09:35:14 -06:00
Gregory Nutt
13911d9b17
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:40:03 -06:00
Masayuki Ishikawa
5382806c5a
Remove an unused variable when calling sigwaitinfo()
2017-03-02 13:41:08 +09:00
Gregory Nutt
81645fe18f
strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.
2017-02-16 15:58:15 -06:00
Alan Carvalho de Assis
a30c439a52
apps/graphics/traveler/tools: Fix linkage issue. The -lm should come after -o binname
2017-01-07 14:10:07 -06:00
Gregory Nutt
07e3637100
Traveler: Missing semicolon in prototype.
2017-01-07 12:48:08 -06:00
Gregory Nutt
507cbe2475
trv_graphics.h uses sem_t so should include semaphore.h
2017-01-07 12:43:17 -06:00
Gregory Nutt
8374ab4363
Correct a few things from the last commit.
2016-12-01 16:56:47 -06:00
Gregory Nutt
38e3619e21
Graphics: Remove all NX server taks. Instead, call boardctl() to the the NX server kernel thread.
2016-12-01 16:33:45 -06:00
Gregory Nutt
de40e5551f
Update README
2016-11-14 16:38:45 -06:00
Gregory Nutt
42c8fab565
Update README
2016-11-13 07:54:46 -06:00
Gregory Nutt
c5f8f0741e
Update README
2016-11-13 06:43:35 -06:00
Gregory Nutt
fcda9116d3
tcledit/libwld: Tool cannot use NuttX debug macros. Must have its own.
2016-11-12 12:08:44 -06:00
Gregory Nutt
ae89057270
tcledit/libwld: cosmetic naming fixes
2016-11-12 11:30:17 -06:00
Gregory Nutt
58adf727c3
tcledit: Fix a Tk package issue.
2016-11-12 09:00:05 -06:00
Gregory Nutt
047a51c592
tcledit: Fix some error reporting
2016-11-12 08:19:39 -06:00
Gregory Nutt
104d743c2a
tcledit: Fix some logic errors.
2016-11-12 07:56:59 -06:00
Gregory Nutt
307bb794a8
tcledit/libwld: Fix a couple of bugs.
2016-11-11 16:54:51 -06:00
Gregory Nutt
c185f8e5c8
Merge branch 'master' of bitbucket.org:nuttx/apps
2016-11-11 16:49:51 -06:00
Gregory Nutt
0ea1183595
libwld: Put a copy of fsutils/inifile in the tools dir for host builds
2016-11-11 16:48:53 -06:00
Gregory Nutt
810ae2a3ff
tcledit: Fix some initialization issues
2016-11-11 14:17:05 -06:00
Gregory Nutt
8404acae22
tcledit/libwld: Add support for building debug versions.
2016-11-11 10:05:12 -06:00
Gregory Nutt
c79f1deb2b
tcledit/libwld: Should not depend on configured trv_pixel_t or dev_pixel_t. Assume always uint8_t and uint32_t TrueColor.
2016-11-11 08:43:48 -06:00
Gregory Nutt
635571db87
Merge branch 'master' of bitbucket.org:nuttx/apps
2016-11-11 08:52:08 -06:00
Gregory Nutt
0e0e70775d
Fix some header comment block widths
2016-11-11 08:51:41 -06:00
Gregory Nutt
b808ac2b2d
tcledit: Costmetic changes to get file closer to coding standard.
2016-11-11 08:19:10 -06:00
Gregory Nutt
1642b8f5d7
Update README
2016-11-11 08:11:36 -06:00
Gregory Nutt
bfb9f181c6
Update README
2016-11-11 07:55:04 -06:00
Gregory Nutt
4a2543fc08
tcledit: Fix some more compile issues
2016-11-11 07:52:32 -06:00
Gregory Nutt
82cd4308e3
tcledit: Fix a few compile issues.
2016-11-11 06:57:01 -06:00
Gregory Nutt
bb0e1a8924
libwld: Should not depend on dev_pixel_t
2016-11-11 07:04:01 -06:00
Gregory Nutt
a0f9ecf15d
Remove references to old AST naming
2016-11-10 17:04:13 -06:00
Gregory Nutt
ca320e2029
tcledit: Rename stuff to get close to current NuttX coding standard.
2016-11-10 16:34:25 -06:00
Gregory Nutt
505d80dd4c
libwld: Rename some things to get closer to current coding standard.
2016-11-10 16:20:35 -06:00
Gregory Nutt
9885b5c9b3
tcledit: Fix some compile issues. Still undefined things at link time.
2016-11-10 14:04:05 -06:00
Gregory Nutt
b1fea5ec10
libwld: Now compiles without errors or warnings
2016-11-10 13:48:43 -06:00
Gregory Nutt
6bad8f7676
tcledit: Fix a few compile problems.
2016-11-10 13:08:04 -06:00
Gregory Nutt
8db489ed8c
Run some .c files throut nuttx/tools/indents.sh
2016-11-10 12:21:47 -06:00
Gregory Nutt
85ba39f596
tcledit: More logic in world library.
2016-11-10 11:42:37 -06:00
Gregory Nutt
450a83a4dd
Few more compilation issues
2016-11-10 06:29:25 -06:00
Gregory Nutt
efff1cd235
Untangle some header files
2016-11-09 14:12:21 -06:00
Gregory Nutt
487e6197c8
Don't include from Nuttx/include as system files. Need real platform files. config.h is an issue.
2016-11-09 13:40:46 -06:00
Gregory Nutt
d7ce4110bb
More name changes + compilation fixes
2016-11-09 13:16:33 -06:00
Gregory Nutt
aee656ea36
More name changes
2016-11-09 12:29:30 -06:00
Gregory Nutt
4b933231f7
Beginning the long process of name changes
2016-11-09 11:54:33 -06:00
Gregory Nutt
5ef2791e0e
Fix a few compile issues.
2016-11-09 11:37:17 -06:00
Gregory Nutt
484b9abe1a
Traveler: First dirty conversion of the TCL/X11 world editor
2016-11-09 11:14:35 -06:00
Gregory Nutt
d5b7268d95
ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.
2016-07-20 14:02:41 -06:00
Gregory Nutt
3e83aa7388
Add apps/include to include path in top-level Make.defs file. Remove multiple definitions of INCDIR opt.
2016-07-11 10:45:17 -06:00
Sebastien Lorquet
2cbad44f1d
This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h"
2016-07-11 10:11:18 -06:00
Gregory Nutt
0f1e86b2fd
apps/include/tiff.h moved to apps/include/graphics/tiff.h
2016-07-01 07:03:26 -06:00
Gregory Nutt
a50383db3d
apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 17:53:47 -06:00
Gregory Nutt
586b0aa7e0
Change names of *dbg() * *err()
2016-06-11 15:51:27 -06:00
Gregory Nutt
468bdcf8e6
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:13:39 -06:00
Sebastien Lorquet
7ca5478da3
Rearrange to eliminate Kmenu files
2016-06-09 08:59:16 -06:00
Sebastien Lorquet
80ae4683fe
Add kconfig files for pcode and tiff
2016-06-02 16:34:22 +02:00
Sebastien Lorquet
a9aa753fa4
Recursive Kconfig autogeneration
2016-06-02 16:34:00 +02:00
Sebastien Lorquet
ae6c0b832c
Individual app kconfig fixes
2016-06-02 16:26:32 +02:00
Sebastien Lorquet
b354a41fd4
Use directory.mk for recursive dir makefiles
2016-06-02 16:25:51 +02:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Sebastien Lorquet
9a406515d7
make the full tree use wildcards make.defs
2016-06-02 16:21:21 +02:00
Sebastien Lorquet
bfff7dc4ca
add kmenu files
2016-06-02 15:23:50 +02:00
Gregory Nutt
e2654d8777
VNC: Finish initializing the VNC server once we have the NX handle
2016-04-22 13:38:06 -06:00
Gregory Nutt
7308fdcdf2
Framebuffer driver: Add a display number to each interface in order to support multiple displays
2016-04-14 12:23:52 -06:00
Gregory Nutt
6125e9376e
Standardize some naming in code section comments
2016-02-21 18:15:00 -06:00
Gregory Nutt
64f484d71a
Move include/inifile.h to include/fsutils/inifile.h
2016-01-20 18:45:03 -06:00
Gregory Nutt
27a55f36d6
Move system/inifile to fsutils/inifile
2016-01-20 17:10:55 -06:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00
Gregory Nutt
f6e7e9c1c0
Standardize the width of all comment boxes in C files
2015-10-03 07:20:15 -06:00
Gregory Nutt
0629c5466e
Standardize the width of all comment boxes in C file
2015-10-02 17:33:30 -06:00
Paul A. Patience
266cc147c4
Correct #if to #ifdef when the macro can be undefined
2015-09-01 13:44:06 -04:00
Gregory Nutt
74801cf38e
apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced
2015-08-11 17:49:10 -06:00
Gregory Nutt
09add96e22
Change the name of the local variable sigset to set to prevent name collisions with the function of the same name
2015-07-31 13:31:44 -06:00
Gregory Nutt
d5b6949c9f
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:14:53 -06:00
Gregory Nutt
2ba737b5e5
Clean up and review of header files for conformance to standards
2015-06-12 19:26:01 -06:00
Gregory Nutt
50deb7ad20
Remove executable flag from more .c and .h files
2015-04-09 08:20:57 -06:00
Gregory Nutt
2448178ed9
Add basic board support for the DK-TM4C129X Connected Development Kit. The initial commit is simply the TM4C123G Launchpad with naming changes
2014-12-16 15:29:14 -06:00
Gregory Nutt
b37d614ad0
Traveler: Make updated to build available tools
2014-12-15 08:25:43 -06:00
Gregory Nutt
ed7cca7d16
Traveler: Add another trivial plane management tool
2014-12-15 07:57:16 -06:00
Gregory Nutt
37816021cb
Traveler: Add another trivial plane management tool
2014-12-15 07:16:16 -06:00
Gregory Nutt
5251d18d92
Traveler: Add the first of several game-related tools
2014-12-14 18:26:36 -06:00
Gregory Nutt
c830d84835
Fix door open detection
2014-12-14 14:20:47 -06:00
Gregory Nutt
be1611fbc4
Traveler: Slow movement down
2014-12-14 14:14:13 -06:00
Gregory Nutt
f739f3f50a
More fixes to traveler input handling
2014-12-14 13:07:21 -06:00
Gregory Nutt
13f9ab213d
Various fixes to traveler joystick input logic and to simulated joystick device
2014-12-14 12:23:19 -06:00
Gregory Nutt
ebd263d3bd
SIM: Several fixes to the simulated joystick driver. Still buggy
2014-12-14 11:11:04 -06:00
Gregory Nutt
e6927cfcac
Traveler: Add support for analog joystick
2014-12-14 08:55:18 -06:00
Gregory Nutt
0bc4962941
Traveler: Use less floating point in timeing instrumentation
2014-12-09 10:10:57 -06:00
Gregory Nutt
266ae5d6eb
Fix backup time calculation
2014-12-09 06:26:34 -06:00
Gregory Nutt
0643fb90f7
Traveler: Add logic to limit the frame rate. This is kind of a silly feature -- why would you ever want to limit the frame rate? Well, you need to that on the simulated platform to make bandwidth for other things to run like the simulated timer
2014-12-08 13:45:17 -06:00
Gregory Nutt
ccc8557cd9
Travel: Fix more initialization errors, mostly related to file path problems
2014-12-08 12:39:02 -06:00
Gregory Nutt
0f6c4e0814
Passing wrong string for the world path
2014-12-08 11:47:28 -06:00
Gregory Nutt
c22db2365a
Extend the simulator to provide special initialization for the Traveler game
2014-12-08 10:54:58 -06:00
Gregory Nutt
3c55c8c6bf
Traveler: Change the way that the world path is managed.
2014-12-08 09:28:53 -06:00
Gregory Nutt
8143701d47
Add logic to build the demo world as a ROMFS file system
2014-12-07 12:26:30 -06:00
Gregory Nutt
5b6a6eff83
Add a demo world
2014-12-07 11:38:03 -06:00
Gregory Nutt
92b1e04fbb
Fix mode of header file marked executable
2014-12-07 11:07:46 -06:00
Gregory Nutt
f13dc1d680
Add range palette table. Completes basic port of the game
2014-12-07 11:02:55 -06:00
Gregory Nutt
459fb9308e
Add world destruction logic
2014-12-07 10:32:24 -06:00
Gregory Nutt
76e03225e0
Add logic to load texture images from a graphic file
2014-12-07 09:53:12 -06:00
Gregory Nutt
7d86b9ce7a
Add higher logic to load bitmap texture files
2014-12-06 15:19:02 -06:00
Gregory Nutt
957a9a18ef
Add logic to read bitmap textures from a file
2014-12-06 13:28:52 -06:00
Gregory Nutt
969dc2ff41
Add more plan management logic
2014-12-06 12:00:25 -06:00
Gregory Nutt
fa914506ad
Add the second of several world creation files
2014-12-06 09:53:00 -06:00
Gregory Nutt
6efdbf1dbe
Add the first of several world creation files
2014-12-06 09:14:07 -06:00
Gregory Nutt
0a355c200a
Add plane list operations
2014-12-06 08:04:57 -06:00
Gregory Nutt
955546b67e
Add last of several ray cast/rendering files
2014-12-05 16:31:47 -06:00
Gregory Nutt
e9088a308a
Add fourth of several ray cast/rendering files
2014-12-05 14:52:18 -06:00
Gregory Nutt
a4c05f2a49
Add third of several ray cast/rendering files
2014-12-05 13:02:44 -06:00
Gregory Nutt
6cce43ce94
Add some global data declarations. Fix modes on some files marked as executable
2014-12-05 12:11:23 -06:00
Gregory Nutt
2af008571e
Add second of several ray cast/rendering files
2014-12-05 11:24:10 -06:00
Gregory Nutt
b23678b965
Add trigonometric lookup tables
2014-12-05 10:17:34 -06:00
Gregory Nutt
7433c4a86d
Add first of several ray cast/rendering files
2014-12-05 08:44:55 -06:00
Gregory Nutt
5f384d9d21
Add door animation logic
2014-12-04 14:22:10 -06:00
Gregory Nutt
a9c4227811
Correct some image scaling
2014-12-04 08:00:41 -06:00
Gregory Nutt
bfd9cfe0e5
Correct graphics scaling logic
2014-12-03 18:19:10 -06:00