pico9918-core 1.3.0
TMS9918A / F18A video display processor emulation in C99
Loading...
Searching...
No Matches
pico9918_gpu_priv.h File Reference

pico9918-core - GPU privileged surface More...

#include "pico9918_priv.h"
+ Include dependency graph for pico9918_gpu_priv.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

PICO9918_INLINE void pico9918_gpu_trigger (pico9918_t *tms9918)
 
PICO9918_INLINE void pico9918_gpu_service (pico9918_t *tms9918)
 
PICO9918_INLINE void pico9918_gpu_note_frame (pico9918_t *tms9918, uint32_t lines, float frameRateHz)
 

Detailed Description

pico9918-core - GPU privileged surface

Copyright (c) 2021 Troy Schrapel

This code is licensed under the MIT license

https://github.com/visrealm/pico9918-core

The GPU entries that need the private instance layout, kept out of gpu/gpu.h so that header stays public. The include rule this serves: an emulator includes pico9918.h plus the platform/host header and nothing under impl/. Putting the one-line pico9918_gpu_trigger below on the public header would pull the whole private struct onto that surface for a single store.

Privileged, like the rest of impl/. Do not include from an emulator.

Definition in file pico9918_gpu_priv.h.

Function Documentation

◆ pico9918_gpu_trigger()

PICO9918_INLINE void pico9918_gpu_trigger ( pico9918_t *  tms9918)

Definition at line 31 of file pico9918_gpu_priv.h.

◆ pico9918_gpu_service()

PICO9918_INLINE void pico9918_gpu_service ( pico9918_t *  tms9918)

Definition at line 55 of file pico9918_gpu_priv.h.

◆ pico9918_gpu_note_frame()

PICO9918_INLINE void pico9918_gpu_note_frame ( pico9918_t *  tms9918,
uint32_t  lines,
float  frameRateHz 
)

Definition at line 60 of file pico9918_gpu_priv.h.