|
Post by tomxp411 on Apr 25, 2018 23:54:02 GMT
I just wanted to suuggest a Programming section at the main menu, so us übernerds can discuss BASIC and assembly language programming on this fine machine.
|
|
|
Post by saramakos on Apr 26, 2018 4:00:05 GMT
I second this, programming the C64 is one of the reasons I got this unit!
|
|
|
Post by gurce on Apr 26, 2018 5:13:17 GMT
I'd like this too. Don't think I've got the rights to create this so will have to leave it in Nick's hands.
|
|
tnd64
Creatures
C64 Freeware games designer, programmer and musician
Posts: 12
|
Post by tnd64 on Apr 27, 2018 10:27:03 GMT
Excellent idea... I start with some advice If you want to create and develop software in BASIC. All that is required is a C64 Programming Reference Manual. If it is assembly programming on theC64 Mini. I set myself a coding challenge on the C64Mini last weekend, which was to create and develop an intro using theC64 Mini. In order to do this, I picked up a few Public Domain utilities, and used DIR MASTER to place all of those into a .D82 image (and rename to D64). Those included a couple of graphics tools, a music editor, an assembler, a machine code monitor and a couple of compression tools. I also wrote a blog about coding an intro on the C64Mini last weekend Here's the link: tnd64.blogspot.co.uk/2018/04/c64-mini-weekend-dev-challenge-1.html
|
|
|
Post by saramakos on Apr 27, 2018 13:43:03 GMT
I am loving re-learning BASIC, although some of the shortcomings I didn't remember have caught me offguard. The lack of an ELSE statement for example. I have been using this site to get my resources (hope this link is ok to post): www.bombjack.org/commodore/books.htmHope that helps people
|
|
|
Post by RetroBiker on Apr 27, 2018 14:38:32 GMT
I also have used the BombJack site a lot. Didn't feel I could link to it on the old forum. I'd suggest starting here and browsing around: www.bombjack.org/commodore/index-c64.htmThere's tons of suff on there.
|
|
|
Post by gurce on Apr 27, 2018 23:53:12 GMT
In order to do this, I picked up a few Public Domain utilities, and used DIR MASTER to place all of those into a .D82 image (and rename to D64). Those included a couple of graphics tools, a music editor, an assembler, a machine code monitor and a couple of compression tools. I also wrote a blog about coding an intro on the C64Mini last weekend Here's the link: tnd64.blogspot.co.uk/2018/04/c64-mini-weekend-dev-challenge-1.htmlThanks for sharing your demo, enjoyed it, very old school, visually and aurally Also enjoyed your blog post, it was a great read, and thanks for sharing your toolset, I'll be interested in getting acquainted with these tools when I have my next stab at coding the c64 One thing I was curious about with these tools, I can see them as a great way to prepare all your resources within the tool and saving them out, but I'm wondering about how you went about loading these resources into your demo? Does each tool come with a suggested loader routine that you can borrow for your own code? Or do you have to decipher how they saved their content out manually and then roll your own loader routines? I'd be happy to read more about this in a future blog post? (if it's super-complicated ). Or if it's super-easy, a post here is fine PS. Really nice of you to share all those pooled tools on your demo disk. Saves me from hunting them all down one-by-one! PPS. Whoa, just realised that you shared your source-code on the disk too! Very nice of you, a chance for me to study your resource loader routines. I need to get better acquainted with that turbo assembler tool though, starting my learning curve from zero on that one! PPPS. I managed to extract the source and save it out as ASCII text. Was a pain in the neck to do it, but thought I'd share here in-case others would enjoy studying it too.
|
|
kens
Creatures
Posts: 12
|
Post by kens on Apr 29, 2018 4:55:48 GMT
Back in the mid 1980's my interest in the C64 was Comal programming. Then move on to the Amiga's, with AMOS. In 2015 I was able to purchase the Developers version of UniComal IBM PC v3.11 (Sept. 1993) with manuals. This was the last version of Comal by Unicomal which also develop the UniComal v2.01 cart. for the C64. Currently use Comal v.14 Power Driver on the C64C and the above Comal on Windows 7 x32. The PC Comal can make modules in Comal, with 80x86/80x88 Assembler or C. Both versions have a complier. I do have Comal v2.01 on Easyflash, but not sure if it's 100% comparable to the real cartridge which had bank switching, and I no longer have my cartridge. Haven't tried to use Comal v.14 /v14 Power Driver with TheC64 mini yet. The Power Driver version is between v.14 and v.2.01. Comal was originally an educational programming language in Europe. But also turned out to a very good developers language. It was even used at airports in Denmark, more likely in some type of administration function.
|
|
|
Post by RetroBiker on Apr 29, 2018 5:59:45 GMT
Back in the mid 1980's my interest in the C64 was Comal programming. We got Comal for our PETs at school and I used it for one of my O-level Computer Studies projects. Loved it!
|
|
tnd64
Creatures
C64 Freeware games designer, programmer and musician
Posts: 12
|
Post by tnd64 on Apr 29, 2018 20:36:13 GMT
One thing I was curious about with these tools, I can see them as a great way to prepare all your resources within the tool and saving them out, but I'm wondering about how you went about loading these resources into your demo? Does each tool come with a suggested loader routine that you can borrow for your own code? Or do you have to decipher how they saved their content out manually and then roll your own loader routines? I'd be happy to read more about this in a future blog post? (if it's super-complicated ). Or if it's super-easy, a post here is fine PS. Really nice of you to share all those pooled tools on your demo disk. Saves me from hunting them all down one-by-one! PPS. Whoa, just realised that you shared your source-code on the disk too! Very nice of you, a chance for me to study your resource loader routines. I need to get better acquainted with that turbo assembler tool though, starting my learning curve from zero on that one! PPPS. I managed to extract the source and save it out as ASCII text. Was a pain in the neck to do it, but thought I'd share here in-case others would enjoy studying it too. I'm happy that the source code has also been shared to this forum also. I will also be launching an UPDATED version of my tutorial called ASSEMBLE IT, after all these years. Although it will be more C64Studio cross-platform based. I have finished a couple of updated chapters, but I haven't uploaded those on to my web site yet. I'll be ready with those hopefully some time in May 2018. Also, regarding the tools. I used the Code Suck Monitor to load the data files of the music, logo, graphics, etc. I used the Code Suck Monitor for saving all of the data and code together before putting it through a native C64 packer, and cruncher. Before I was able to program the demo, I needed to prepare myself installing the Code Suck Monitor. In order to do that, I had to load in the Turbo Assembler, run it then add a small C64 soft reset subroutine. Which was JMP $FCE2. I then loaded the code S/Monitor using LOAD "CSM*",8,1. I loaded each bit of data manually. Since it took a weekend to produce. I had to use save states inside the assembler, as backup for just in case the program crashed. To get back to the assembler I used SYS36864 (which is basically JMP $9000). After finishing writing the intro. I added as the first entry *=$5000 so that the assembler could jump straight to the Code Suck M/C monitor and then I could save the fully compiled file before compacting it with ECA I was very careful for which tools to choose, by ensuring on my C64 that they didn't have a specific fast loader. I needed something that supported the KERNAL disk loader, since the demo was being made on a .D82 (With the tools).
|
|
|
Post by commodore64bob on Jan 7, 2019 15:31:04 GMT
I am loving re-learning BASIC, although some of the shortcomings I didn't remember have caught me offguard. The lack of an ELSE statement for example. I have been using this site to get my resources (hope this link is ok to post): www.bombjack.org/commodore/books.htmHope that helps people I still have some of those books. They are sitting beside my actual Commodore 64.
|
|
|
Post by groepaz on Jan 8, 2019 7:48:07 GMT
also check codebase64.org
|
|
allie
Creatures
Posts: 26
|
Post by allie on Aug 1, 2020 12:31:49 GMT
Hi, All. Is any one still programming the c64 mini in basic. I'm interested in a program for sound output from the c64 mini to a tone decoder circuit using the 567 tone decoder IC's.
|
|
|
Post by spannernick on Aug 2, 2020 15:39:40 GMT
This is a old post about making a programming section on here, post a new thread about it in here and properly users will reply.
Locked this thread now.
|
|