gp333 wrote:
how look C++ coder for this action? is code same like for DOS C++ programming?
Unless you use a front-end a la "cfront" (the program that started the whole C++ language fiasco to begin with), you're not likely going to find a 6502 implementation of C++. C++, especially in its modern form, is *entirely* too big, too complex for the 6502. Since a combined JSR/RET combination (the instructions to invoke a function call in C, NOT counting pushing parameters onto the stack) is 12 clock cycles, you can imagine the sheer length of time it'd take to invoke a virtual method: you need to first dereference the first slot of an object to grab the vtable pointer, dereference the appropriate entry in the vtable, THEN invoke it. Modern CPUs make this trivial because they have proper register-based indexing. 65816 needs to do this through much more primitive, and time-consuming, means.
Quote:
and do i need assembler language after I create C++ program? if yes, explain more
That depends on whether you are writing an operating system or not. It sounds like you are, since you're intending to burn to EEPROM. As you're probably already aware, every C or C++ program requires at least some kind of "startup library" (often called crt0, for C Run-Time). This library's purpose in life is to establish the C run-time environment (hence its name), gather parameters from the shell environment, if any, invoke constructors for global objects (C++ only), and invoke main(). This library must be written in assembly language, since C-compiled code is unable to function yet. Note, since you're planning on coding to an EEPROM, most of this code can be dispensed with (e.g., there is no shell environment). OTOH, if you're coding in C++, you DO need to invoke the appropriate constructors on the global objects.
Your best bet, so far as I can tell, is to research using plain-vanilla C, or maybe an alternative programming language all-together (e.g., Forth? Pascal / Oberon? Compiled BASIC?), something that offers the same basic capabilities, but with substantially lighter weight on the 6502/65816.