ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
_build.c File Reference
#include "../../ugbc.h"
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "../../../data/atari/dos25_bootcode.c"
#include "../../../data/atari/dos25_dos_sys.c"
#include "../../../data/atari/dos25_dup_sys.c"

Go to the source code of this file.

Functions

void generate_xex (Environment *_environment)
void generate_atr (Environment *_environment)
void target_linkage (Environment *_environment)
 Convert C64's assembly to executable.
void target_cleanup (Environment *_environment)

Variables

char OUTPUT_FILE_TYPE_AS_STRING [][16]

Function Documentation

◆ generate_atr()

void generate_atr ( Environment * _environment)

Definition at line 148 of file _build.c.

◆ generate_xex()

void generate_xex ( Environment * _environment)

Definition at line 51 of file _build.c.

◆ target_cleanup()

void target_cleanup ( Environment * _environment)

Definition at line 343 of file _build.c.

◆ target_linkage()

void target_linkage ( Environment * _environment)

Convert C64's assembly to executable.

Parameters
_environment

Definition at line 327 of file _build.c.

Variable Documentation

◆ OUTPUT_FILE_TYPE_AS_STRING

char OUTPUT_FILE_TYPE_AS_STRING[][16]
extern

In technical terms, it's an array (or list) of constant strings. Each string represents the description of the generated format. This variable has three main purposes in the compiler workflow: the compiler uses this array to rename output files based on the source filename; òets the compiler know which output "stages" the user has requested; finally, before writing a file, the system checks whether the desired extension is one of the "managed" or supported types on the target architecture.

Definition at line 172 of file _infrastructure.c.