4 #include "horizontal_generator.h"
6 // initialization function
7 void horizontal_generator_init(DOLProcess *p) {
8 sprintf(p->local->str, "nopqrstuvwxyz");
10 p->local->len = strlen(p->local->str);
13 int horizontal_generator_fire(DOLProcess *p) {
15 if (p->local->index < p->local->len) {
16 DOL_write((void*)PORT_OUT, (p->local->str + p->local->index), 1, p);