Search found 122 matches

by veekoo
19 Oct 2022, 14:50
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 46456

Re: LCC for the Gigatron. Take two.

Question about screen modes. Default mode draws 3/4 of the lines Half mode draws 2/4 of the line Quarter mode draws 1/4 of the lines and is the fastest (btw. blank screen is very fast?) Full mode 4/4 of the lines and is the slowest Drawing something like the fractals, I use quarter mode while calcul...
by veekoo
18 Oct 2022, 08:09
Forum: Hardware and software hacking
Topic: gfxbrot.c and gfxjulia.c
Replies: 19
Views: 10814

Re: gfxbrot.c and gfxjulia.c

In Mandelbrot family there is also Julia, but not many know Burning Ship. Very small modification to Mandelbrot program you get Burning Ship. In some illustrations you can actually see the ship.

Two pictures: 1. Burning Ship zoomed 2. Burning Ship original view
by veekoo
17 Oct 2022, 06:51
Forum: Hardware and software hacking
Topic: gfxbrot.c and gfxjulia.c
Replies: 19
Views: 10814

Re: gfxbrot.c and gfxjulia.c

I think for Gigatron community making another Mandelbrot in integer is not so important. A fast Julia might be intresting. Yes the example was for Amiga or PC. I noticed the update on GLCC and used it in here. There is now long Mandelbrot and long Julia versions. Its integer math, but not 16-bit int...
by veekoo
16 Oct 2022, 15:22
Forum: Hardware and software hacking
Topic: gfxbrot.c and gfxjulia.c
Replies: 19
Views: 10814

Re: gfxbrot.c and gfxjulia.c

Example picture of this code using long data type. Getting fast calculation might not happen with this code. "Types short and int are 16 bits long. Type long is 32 bits long. Types float and double are 40 bits long, using the Microsoft Basic floating point format. Both long arithmetic or floati...
by veekoo
16 Oct 2022, 13:12
Forum: Hardware and software hacking
Topic: gfxbrot.c and gfxjulia.c
Replies: 19
Views: 10814

Re: gfxbrot.c and gfxjulia.c

One guy from github had done good job documenting and given sources for integer fractals. I can give the link in privatemsg.
by veekoo
14 Oct 2022, 14:03
Forum: Hardware and software hacking
Topic: gfxbrot.c and gfxjulia.c
Replies: 19
Views: 10814

Re: gfxbrot.c and gfxjulia.c

Maybe someone who knows integer fractals can adapt my code.
Codes can be found at github:
by veekoo
14 Oct 2022, 07:43
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 46456

Re: LCC for the Gigatron. Take two.

I took the latest glcc and I always try after make to do make test. Now it seems to stop in rom v4 tests. It hangs up at this line. My enviroment is linux ubuntu 22.04.1 LTS. 2 processors and 4gb memory in virtual. Allthough the test stops, but every compiled program works. Could this be problem in ...
by veekoo
12 Oct 2022, 06:54
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 46456

Re: LCC for the Gigatron. Take two.

Followed your advice and now its drawing ok. I am suprised how 32k machine can hold some games if there is so little memory left.
Screenshot from 2022-10-11 23-49-15.png
Screenshot from 2022-10-11 23-49-15.png (121.73 KiB) Viewed 4149 times
by veekoo
10 Oct 2022, 14:07
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 46456

Re: LCC for the Gigatron. Take two.

Still testing this, but seems to be drawing randomly dots of mandelbrot. Now full screen. Array size is 38kb... Edit. Last part of picture is little bit wrong. Probably array size of 30kb is closer to fit and function. I will make array of [96][160]. /*-----------------------------------------------...
by veekoo
10 Oct 2022, 12:27
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 46456

Re: LCC for the Gigatron. Take two.

Am I running out of memory? No warnings here when compiling. I am using two dimensional array size of 38kb. I have 64k machine. My simpler versions of this randomizes drawing the dots, but might draw same dot multiple times. There might be another way to use video memory for this? Edit. Drawing only...