[QUOTE=Hitachi;25504331]Why?
You could give the console screen the IO address of (for example) 42, then OUT commands to it and IN results.
Example
[code]
OUT 42, 1 // select function 1, could be move cursor (2 parameters)
OUT 42, 4 // x position
OUT 42, 4 // y position
OUT 42, 2 // select function 2, could be put char (1 param)
OUT 42, 'A' // put the A character at (4,4)
OUT 42, 3 // select function 3, could be read char
IN 42, A // read result into register A
[/code][/QUOTE]
Oh, if you're talking more of a graphical output like that then sure that's fine. I think it'd be cooler to implement something like MODE13h though.
I'd reserve a whole section of memory for a low resolution 8-bit back buffer and give the programmer direct access. Damn, think of the possibilities, 8-bit awesomeness anyone?
Damn, thank you Hitachi for giving me that idea I think I know where I want to go with this project... I'm thinking a virtual 8-bit game console.
[media]http://www.youtube.com/watch?v=nsxkGRD_Uck[/media]
First time i've talked in any of my videos, oh god :v:
Anyone know where you can download Notepad++ language API's for the auto completion function?
[QUOTE=Richy19;25507164]Anyone know where you can download Notepad++ language API's for the auto completion function?[/QUOTE]
notepad++ autocomplete [language]
On google.
I would do it for you, but i don't know what language you want. :v:
[QUOTE=Dj-J3;25506780][media]http://www.youtube.com/watch?v=nsxkGRD_Uck[/media]
First time i've talked in any of my videos, oh god :v:[/QUOTE]
That's awesome, love the sounds.
The UI needs more colour though, I see you already know how since you've managed green. I think you should have some more colours like, maybe make outputted text white and inputted text grey so you can tell it apart easier or something.
Also Swedish accent is awesome.
[QUOTE=Dj-J3;25507180]notepad++ autocomplete [language]
On google.
I would do it for you, but i don't know what language you want. :v:[/QUOTE]
thats the thing i want to get all the man language API's available, and just wondered if theres an official site for them
[QUOTE=Jallen;25507261]make outputted text white and inputted text grey so you can tell it apart easier or something.[/QUOTE]
That sounds nice, i'll do it!
[QUOTE=Jallen;25507261]That's awesome, love the sounds.[/QUOTE]
Thanks :v:
I took the sand sound from a sound effect library(modified the end so it doesn't just cut off), the crafting sound is from tf2, and the click sound from minecraft.
I might make my own sounds, or atleast not steal stuff from other games. (the user is meant to replace these though(if he wants too), obviously)
[editline]19th October 2010[/editline]
[QUOTE=Richy19;25507578]thats the thing i want to get all the man language API's available, and just wondered if theres an official site for them[/QUOTE]
Oh.
Sorry, i can't help you there. :/
[QUOTE=Dj-J3;25506780][media]http://www.youtube.com/watch?v=nsxkGRD_Uck[/media]
First time i've talked in any of my videos, oh god :v:[/QUOTE]
Do you plan on adding any kind of GUI or are you gonna keep it console based?
[QUOTE=BlkDucky;25507862]Do you plan on adding any kind of GUI or are you gonna keep it console based?[/QUOTE]
Probably not going to add a GUI. I'm gonna release the source though when i'm finished with this, so if anyone wanted to, they could make one.
Still not sure though, i might change my mind. :v:
Anyone know why I am getting this error when compiling?
I am using SDL
Error 1 fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory c:\sdl\include\sdl_stdinc.h 65
I think I am going to hop on this bandwagon and record whenever I work on this project and then speed it up and post it :v:. Now if I am going to speed it up in the end, should I just record at like 1-2 fps to save on resources?
1fps = 60 frames a minute.
If you want 30 fps, You must speed it up 30 times.
That is quick.
And yes.
[QUOTE=high;25508275]I think I am going to hop on this bandwagon and record whenever I work on this project and then speed it up and post it :v:. [b]Now if I am going to speed it up in the end, should I just record at like 1-2 fps to save on resources?[/b][/QUOTE]
Yep.
[editline]19th October 2010[/editline]
[QUOTE=Activeellis;25508277]:saddowns:[/QUOTE]
[quote=http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/021787.html]>> > You can replace
>> > #include <inttypes.h">
>> > with
>> >
>> >
>> > typedef signed char int8_t;
>> > typedef signed short int16_t;
>> > typedef signed int int32_t;
>> > typedef unsigned char uint8_t;
>> > typedef unsigned short uint16_t;
>> > typedef unsigned int uint32_t;
>> > typedef signed long long int64_t;
>> > typedef unsigned long long uint64_t;[/quote]
[QUOTE=Dj-J3;25508292]Yep.
[editline]19th October 2010[/editline][/QUOTE]
Kinda defeats the point of having inttypes.h I suppose, unless the header does no checks at all.
[QUOTE=gparent;25508355]Kinda defeats the point of having inttypes.h I suppose, unless the header does no checks at all.[/QUOTE]
True, that site also says someone rewrote inttypes.h, but i didn't take the time to find it.
Error 1 fatal error C1070: mismatched #if/#endif pair in file 'c:\sdl\include\sdl_stdinc.h' c:\sdl\include\sdl_stdinc.h 624
?
[editline]19th October 2010[/editline]
[quote]#define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1)
#define SDL_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2", "UTF-8", S, SDL_strlen(S)+1)
#define SDL_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4", "UTF-8", S, SDL_strlen(S)+1)
/* Ends C function definitions when using C++ */
#ifdef __cplusplusP
}
#endif
#include "close_code.h"
#endif /* _SDL_stdinc_h */
[/quote]
[editline]19th October 2010[/editline]
Last few lines of sdl_stdinc.h
[IMG]http://gyazo.com/3d8a9087a7c6c004ed95d1db5da92ae9.png[/IMG]
Items! And better room descriptions.
Edit: Still not sure why the colour isn't working...
Fixed it, Now,
Error 1 fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory c:\sdl\include\sdl_stdinc.h 73
?
edit: That game killed my automerge.
I hope you are proud.
[QUOTE=Activeellis;25508391]Error 1 fatal error C1070: mismatched #if/#endif pair in file 'c:\sdl\include\sdl_stdinc.h' c:\sdl\include\sdl_stdinc.h 624
?
[editline]19th October 2010[/editline]
[editline]19th October 2010[/editline]
Last few lines of sdl_stdinc.h[/QUOTE]
There's not enough code there to tell. There's "#endif /* _SDL_stdinc_h */" unpaired but it presumably matches up to one at the start of the file.
[editline]19th October 2010[/editline]
[QUOTE=Activeellis;25508418]Fixed it, Now,
Error 1 fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory c:\sdl\include\sdl_stdinc.h 73
?
edit: That game killed my automerge.
I hope you are proud.[/QUOTE]
I am. Very.
[QUOTE=Activeellis;25508418]Fixed it, Now,
Error 1 fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory c:\sdl\include\sdl_stdinc.h 73
?
edit: That game killed my automerge.
I hope you are proud.[/QUOTE]
Something is seriously wrong with your configuration. You can't just keep plugging holes, start from scratch.
[QUOTE=Dr Magnusson;25508444]Something is seriously wrong with your configuration. You can't just keep plugging holes, start from scratch.[/QUOTE]
I tried that.
I will try again.
stdint.h is C99, which will be in the upcoming, but not the current C++ standard.
You can use one of those replacements: [url]http://en.wikipedia.org/wiki/Stdint.h#External_links[/url]
[QUOTE=high;25508275]Now if I am going to speed it up in the end, should I just record at like 1-2 fps to save on resources?[/QUOTE]
Yup.
Didn't work.
Error 1 fatal error C1189: #error : You should copy include/SDL_config.h.default to include/SDL_config.h c:\sdl\include\sdl_config.h 34
Fuck SDL.
Guys, SFML or DirectX?
[quote=activeellis;25508533]didn't work.
Error 1 fatal error c1189: #error : You should copy include/sdl_config.h.default to include/sdl_config.h c:\sdl\include\sdl_config.h 34
fuck sdl.
Guys, sfml or directx?[/quote]
SFML
caps
-snip- I'm retard.
[QUOTE=Activeellis;25508533]Didn't work.
Error 1 fatal error C1189: #error : You should copy include/SDL_config.h.default to include/SDL_config.h c:\sdl\include\sdl_config.h 34
Fuck SDL.
Guys, SFML or DirectX?[/QUOTE]
Honestly you can't even get SDL to compile go with SFML
[QUOTE=Activeellis;25508533]Didn't work.
Error 1 fatal error C1189: #error : You should copy include/SDL_config.h.default to include/SDL_config.h c:\sdl\include\sdl_config.h 34
Fuck SDL.
Guys, SFML or DirectX?[/QUOTE]
Depends heavily on what you're doing. As far as I know SFML doesn't do 3D (May very well be wrong on this).
SFML is really easy to work with though, and has a ton of tutorials.
[QUOTE=Activeellis;25508556]I'm not going to use XNA, Or SFML, Because I would like to do some 3D work after a while
OpenGL or DX?[/QUOTE]
Wait what? So... DirectX or SFML, only it can't be SFML and has be be between OpenGL and DirectX? Anyway. It's easier to start 2D, obviously. There's no reason you can't use SFML and learn OpenGL (for instance) later.
Sorry, you need to Log In to post a reply to this thread.