Search found 105 matches

by fatman2021
Mar 04, 2019 17:03
Forum: Tips and Tricks
Topic: Tiny C64 (old school)
Replies: 57
Views: 30112

Re: Tiny C64 (old school)

UPDATE: Improved readability Added support for playing DVDs(POKE 49152,[track number]). https://github.com/fatman2021/project-manhattan/blob/master/c64dvd.bas NOTE: mplayer must be installed in order to play dvds. Strange, I don't seem to recall the original C64 having DVD support... I recorded thi...
by fatman2021
Mar 04, 2019 1:37
Forum: Tips and Tricks
Topic: Tiny C64 (old school)
Replies: 57
Views: 30112

Re: Tiny C64 (old school)

Added support for 32-bit color.

Addresses 49154 through 49157 controls the foreground color.
Addresses 49158 through 49161 controls the background color.

Image
by fatman2021
Mar 03, 2019 16:16
Forum: Tips and Tricks
Topic: Tiny C64 (old school)
Replies: 57
Views: 30112

Re: Tiny C64 (old school)

UPDATE:
Improved readability
Added support for playing DVDs(POKE 49152,[track number]).

https://github.com/fatman2021/project-manhattan/blob/master/c64dvd.bas

NOTE: mplayer must be installed in order to play dvds.
by fatman2021
Feb 26, 2019 18:01
Forum: DOS
Topic: FreeDOS and UEFI
Replies: 20
Views: 10356

Re: FreeDOS and UEFI

Not sure about asking here, but does anybody know how to make a bootable FreeDOS HD. This is a new system that has the UEFI bios with no legacy support. It seems that when you do a format C: /S, it does a format and a system transfer but the UEFI does not recognize it. Anybody figure out how to get...
by fatman2021
Feb 26, 2019 14:25
Forum: Linux
Topic: Two fbgfx bugs on Linux
Replies: 8
Views: 4806

Re: Two fbgfx bugs on Linux

Unable to swich to fullscreen mode. I am using Manjaro Linux with all the latest updates.
by fatman2021
Nov 04, 2018 20:43
Forum: DOS
Topic: Custom C64 eumlator crashes in FreeDOS
Replies: 10
Views: 5249

Re: Custom C64 eumlator crashes in FreeDOS

I changed lines 59 through 64 as follows: as any ptr vram (&H0000FFFF) ' Video Ram as ubyte ram (&H0000FFFF) ' System Ram as ubyte kernal(&H00001FFF) ' OS as ubyte basic (&H00001FFF) ' Basic as ubyte char (&H000007FF) ' Font as ubyte col (&H000003E7) ' color triples Now it lo...
by fatman2021
Nov 04, 2018 19:08
Forum: DOS
Topic: Custom C64 eumlator crashes in FreeDOS
Replies: 10
Views: 5249

Re: Custom C64 eumlator crashes in FreeDOS

Does the stack size make a difference? I wouldn't have expected it to, since it shouldn't be allocating on the stack. If allocating 560MB works, then guess other things to try then are: - try smaller amounts of memory. Is there a point below which it succeeds? - print something after the two 'new' ...
by fatman2021
Nov 04, 2018 18:09
Forum: DOS
Topic: Custom C64 eumlator crashes in FreeDOS
Replies: 10
Views: 5249

Re: Custom C64 eumlator crashes in FreeDOS

counting_pine wrote:Try the following:

Code: Select all

type T
    a(560e6) as byte
end type
var p = new T
print p
delete p
If this code fails, there's not much you can do.


It works when using the -t command line option.

-t Set .exe stack size in kbytes, default: 1024 (win32/dos)
by fatman2021
Nov 04, 2018 15:47
Forum: DOS
Topic: Custom C64 eumlator crashes in FreeDOS
Replies: 10
Views: 5249

Re: Custom C64 eumlator crashes in FreeDOS

D.J.Peters wrote:Why do you allocate 560 MB ?

Joshy


Most modern computers can access at least 512MB of RAM(for embedded systems). Also 32-bit protected mode programs should be able to address up to 4GB of RAM.
by fatman2021
Nov 04, 2018 2:10
Forum: DOS
Topic: Custom C64 eumlator crashes in FreeDOS
Replies: 10
Views: 5249

Re: Custom C64 eumlator crashes in FreeDOS

D.J.Peters wrote:it's a crime what you do with my elegant code ;-)

Your version locks up in both FreeDOS and DOSBOX....
by fatman2021
Nov 04, 2018 0:49
Forum: DOS
Topic: Custom C64 eumlator crashes in FreeDOS
Replies: 10
Views: 5249

Re: Custom C64 eumlator crashes in FreeDOS

Test programs 10 a$ = "press <cr> to exit." 20 adr = 679: rem gpu address 30 gosub 200: X = 8: y=8 40 rem display message 50 for a=1 to len(a$) 60 poke adr+4,x: poke adr+8,y 70 poke adr+9,asc(mid$(a$,a,1)) 80 for b=10 to 17 90 poke adr+b,255 100 next b 110 poke adr, 5 120 x=x+9 130 next a...
by fatman2021
Nov 03, 2018 16:02
Forum: DOS
Topic: Custom C64 eumlator crashes in FreeDOS
Replies: 10
Views: 5249

Custom C64 eumlator crashes in FreeDOS

Program compiles but crashes when executed. It works when compiles end executed in Linux.

https://raw.githubusercontent.com/fatman2021/E6510CPU/master/E6510CPU.bas

Image
by fatman2021
Jun 14, 2018 21:32
Forum: General
Topic: Type mismatch, at parameter 1 of BLOAD() in 'Bload *p1, cint(*p2), cint(*p3)'
Replies: 11
Views: 1054

Re: Type mismatch, at parameter 1 of BLOAD() in 'Bload *p1, cint(*p2), cint(*p3)'

counting_pine wrote:I'm not familiar enough with the LISP library (is it coderJeff's?) to know how you'd pass pointers around to functions.


Yes. It is coderJeffs's LISP library.
by fatman2021
Jun 14, 2018 20:22
Forum: General
Topic: Type mismatch, at parameter 1 of BLOAD() in 'Bload *p1, cint(*p2), cint(*p3)'
Replies: 11
Views: 1054

Re: Type mismatch, at parameter 1 of BLOAD() in 'Bload *p1, cint(*p2), cint(*p3)'

Are you setting a graphics screen before bload? screen 20,32 or something similar Yes using LISP dim lsp AS LispModule, expr as string BIND_FUNC( lsp.functions, "setvideo", SetVideo) BIND_FUNC( lsp.functions, "setpixel", SetPixel) BIND_FUNC( lsp.functions, "setline", S...

Go to advanced search