Post 5 – Retro C IDE – Windows, Build-Save-Compile-Run

Now that all the settings are squared away, it’s time to have Retro C IDE and Code Builder be able to build some software.  The picture below shows the window building group on the left and system selection radio buttons and code text box on the right. The controls in the Window Definition group will change to based on which system is selected, the example below is for the Commodore systems.  (Here’s a link to a video that gives a brief demo : Retro C IDE in action)

rci08

Here is what the Atari, Atmos and Apple look like :

Atari : (Atari has a different way of handling colors)

rci09

Atmos:

rci10

Apple : (has monochrome text mode)

rci11

Once the selections are made the C code can be built, saved, compiled and run in an emulator. This can be done with a single button/menu selection, or in steps with separate menu selections. The tool strip Play button (Code Save Compile Run) or the Easy Build menu option will do it all in one step.  The C, Save Code, Compile and Run in Emulator buttons/menu items can be used to do this individually.

rci13

rci14

The Play, Easy Build and Generate C Code all result in running the Code Builder routine and populate the Code Text Box with the C code to build the application.  Of course the code will be different for each system.  Below is the Commodore example :

rci12

The applicate is set up so that each step of the Easy Build process runs before the next step starts, this ensures that code is built before it is saved, saved before compile and so on.  At this point the file names and directory for the source code are hard coded, this will be changed to user definable as I move forward in the project.

The resulting program running in the emulator for Commodore 64 looks like this :

rci15

The next post will show how a menu system can be built and added to the application.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s