Changeset a3c602f in buchla-68k for ram


Ignore:
Timestamp:
11/12/2017 10:09:26 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ba51a45
Parents:
b5b602e
Message:

Fixed vtyper.c.

Location:
ram
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ram/im700.c

    rb5b602e ra3c602f  
    365365uint16_t        curintp;        /* current interpolate time (FPU format) */
    366366uint16_t        scrl;           /* score VSDD object scroll register image */
    367 uint16_t        vtbgval;        /* virtual typewriter data background color */
    368 uint16_t        vtfgval;        /* virtual typewriter data foreground color */
     367int16_t         vtbgval;        /* virtual typewriter data background color */
     368int16_t         vtfgval;        /* virtual typewriter data foreground color */
    369369
    370370uint16_t        dfbuf[4096];    /* track formatting buffer */
  • ram/im700.x

    rb5b602e ra3c602f  
    366366extern  int16_t         vrbw15;
    367367extern  int16_t         vrcw;
    368 extern  uint16_t        vtbgval;
     368extern  int16_t         vtbgval;
    369369extern  int16_t         vtccol;
    370370extern  int16_t         vtcrow;
    371371extern  int8_t          vtdechr;
    372372extern  int16_t         vtdecol;
    373 extern  uint16_t        vtfgval;
     373extern  int16_t         vtfgval;
    374374extern  int16_t         vtpcol;
    375375extern  int16_t         vtprow;
  • ram/vtyper.c

    rb5b602e ra3c602f  
    5050        vtdecol = col;          /* setup data entry base column */
    5151        vtdeptr = ptr;          /* setup data entry area base address */
    52         vtfgval = exp_c(fg);    /* setup foreground color value */
    53         vtbgval = exp_c(bg);    /* setup background color value */
     52        vtfgval = fg;           /* setup foreground color value */
     53        vtbgval = bg;           /* setup background color value */
    5454        SetPri(TTCURS, TTCPRI); /* turn on the typewriter cursor */
    5555        vtxval = CTOX(tc);      /* setup vt x value */
     
    109109*/
    110110
    111 void vtdisp(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf)
     111void vtdisp(volatile uint16_t *obj, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *buf)
    112112{
    113113
  • ram/vtyper.x

    rb5b602e ra3c602f  
    99#include "stdint.h"
    1010
    11 typedef void            (*vtchar)(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
     11typedef void            (*vtchar)(volatile uint16_t *obj, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *buf);
    1212typedef void            (*vtcurs)(void);
    1313
     
    3030extern  void            vtcxupd(void);
    3131extern  void            vtcyupd(void);
    32 extern  void            vtdisp(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
     32extern  void            vtdisp(volatile uint16_t *obj, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *buf);
    3333extern  void            vtsetup(volatile uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, int16_t fg, int16_t bg);
    3434extern  int16_t         vtyper(void);
Note: See TracChangeset for help on using the changeset viewer.