graphpascaldosboxturbo-pascalbgi# Turbo Pascal BGI Error: Graphics not initialized (use InitGraph)

I'm making a Turbo Pascal 7.0 program for my class, it has to be on Graphic Mode. A message pops up

BGI Error: Graphics not initialized (use InitGraph).

I'm already using InitGraph and graph.tpu and I specified the route as "C:\TP7\BGI".

My S.O is Windows 7 and I'm using DosBox 0.74, I already tried to paste all the files from the folder BGI into BIN.

What should I do?

Solution

Since dos doesn't have system graphic drivers, the BGI functions as such for BP7.

So in short, use a BGI suitable for your videocard. The ones supplied with BP7 are very old, there are newer, VESA ones that you could try.

Afaik 3rd party BGI needs to be registered explicitly in code though.

- Writing a DFS with iterative deepening without recursion
- For given sequences, build graph which will contain path for each sequence
- Billboardjs - Hatched bar graph
- ECharts Confidence Band (Line) chart defaulting to 0 with null values
- Imitating the waterfall plots in Origin with Matplotlib
- Shortest distance with complex number in network x
- Is there a way to customise panel titles in an effects plot?
- Find high weighted mutal friend in Neo4J Database
- How to update axes when value on dropdown changes with go.Bar() (plotly)?
- Which is faster and why? Set or List?
- ggplot2 Recreate horizontal rectangles like another graph
- Pyramid density plot in R
- Side by Side plot with one legend in ggplot2
- Graph issues in Gnuplot - It doesn't fully draw
- Modification of Dijkstra's algorithm to make it work with negative weights and its time complexity
- Convert list of lists into connected components of a graph to find node degrees
- Fast Convertion From Adjacency List to Edge List
- Creating Relationships in Neo4j Without Recreating Nodes
- Creating a lift chart in R
- How to make multiple graphs with fig, ax
- View Firewalls and virtual networks settings values for storage accounts using azure graph
- Partition graph into groups of neighbours having the same class
- Mailboxusage report via Graph api gives back hash values
- Plot arrow on each point towards the line in graph
- Jax Implementation of function similar to Torch's 'Scatter'
- Finding length of shortest cycle in undirected graph
- labeling graph edges
- Can we detect cycles in directed graph using Union-Find data structure?
- Finding reachable vertices of a vertex in a graph
- is there a Python graph library that saves the graph as a image?