char text_buffer[128];
int textptr;
uint8_t cur_prop_size;
-int zch_shift;
-int zch_shiftlock;
+uint8_t zch_shift;
+uint8_t zch_shiftlock;
int zch_code;
/*
if (frameptr == FRAMESIZE - 1)
panic("out of frames.\n");
+ /* FIXME: use pointers */
frames[frameptr].pc = program_counter;
frames[++frameptr].argc = argc;
frames[frameptr].start = stackptr;
void exit_routine(uint16_t result)
{
+ /* FIXME: we want a live ptr to top frame */
stackptr = frames[frameptr].start;
program_counter = frames[--frameptr].pc;
if (frames[frameptr + 1].stored)
return 13;
}
+/* FIXME: stop using uint64_t */
uint64_t dictionary_get(uint32_t addr)
{
uint64_t v = 0;
uint64_t dictionary_encode(uint8_t * text, int len)
{
+ /* FIXME: stop using uint64_t */
uint64_t v = 0;
int c = VERSION > 3 ? 9 : 6;
int i;