
LinuxVSX16
Members-
Content Count
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Downloads
Everything posted by LinuxVSX16
-
Any tips on how to make c code as small as possible?
LinuxVSX16 posted a question in X16 Programming Support
Just for practice with the Cx16 I'm writing a small text editor for the system, I'm just wondering what I can do to make a c file smaller. I'm open to answer any questions. Thank you. -
Interfacing Directly With the Vera Video Memory
LinuxVSX16 replied to LinuxVSX16's question in X16 Programming Support
No I have not checked out cc65's conio library it may work just as well as directly interfacing with the video chip. Also thank you for pointing me towards the vera programmers guide. -
Interfacing Directly With the Vera Video Memory
LinuxVSX16 posted a question in X16 Programming Support
So in my other post here: I wanted to make a programming language and a IDE to be used in the X16. So for creating the text box I have 2 options: 1. Using the GNU Readline library pros: Allows me to program in c cons: May not work on the X16, Lack of documentation, Might need to be ported to the X16 2. Directly editing the video memory pros: Gives me full control over graphics, Wont require extra code to be ported, cons: Even though I do have experience in assembly(x86 and 6502) it will be very hard to get right. So I have chosen to interface with the video memory directly. I'm having a bit of trouble understanding the Vera video card. I have read through parts of the unofficial documentation but I have a couple questions: 1. How do you switch to text mode? 2. How do you add characters or etc to specific parts of the screen? As development continues more questions may arise if so they will be added on to the list of questions. Thank you and have a nice day! -
Writing A Compiled Language For the X16
LinuxVSX16 replied to LinuxVSX16's question in X16 Programming Support
Thank you for the response I think i’d like base camp to be similar to c but with the flexibility of python(if it’s possible with the x16 hardware). Before I start I’m going to create an ide or some kind of text editor so I can work on it in the emulator. I’m just researching what the best method of creating the text box would be(message me if have any idea). Well anyway Thank you! -
Writing A Compiled Language For the X16
LinuxVSX16 replied to LinuxVSX16's question in X16 Programming Support
Thank you for your comment. I'm planning on keeping it similar to BASIC but again I do want to add some features of modern languages like as was said before functions. I will look for a c64 text editors and try to port it. Thank you! -
I want to write a programming language for the X16 called Base Camp. I want to write a language because although BASIC is an awesome language the one issue I have with it is that its interpreted so I want Base Camp to be similar to BASIC but with components of modern languages(for example functions) I also would like it to be compiled. Before I can start I have a few questions: 1. Is it practical(should I create Base Camp or is it a bad idea)? 2. Is it possible(is it possible to write Base Camp)? 3. Are there any text editors for the X16 and if not how could I write one? 4. Should I write Base Camp in BASIC or assembly(I'm pretty sure ill write in it assembly but I want to hear other peoples opinions.) My skills: I have worked with x86 assembly and am learning 6502 assembly. Any comments would be appreciated. Thank You!
-