PaultheRoman #1 Posted September 16, 2018 Since Andrew Davie isn't hosting his website anymore for the DASM assembler, I don't know where I can get the vcs.h and macro.h files. It's not in the sourceforge distribution https://sourceforge.net/projects/dasm-dillon/. Does anyone know where it's distributes? Quote Share this post Link to post Share on other sites
+Karl G #2 Posted September 16, 2018 They can be found in the DASM source download. From the DASM project page, go to Files, and download the source for the version you are looking for. In the source distribution, those files can be found under machines->atari2600. 1 Quote Share this post Link to post Share on other sites
PaultheRoman #3 Posted September 16, 2018 I was able to find it. Thanks, Karl! 1 Quote Share this post Link to post Share on other sites
explorer #4 Posted September 16, 2018 I recommend you to look this thread: D.K. VCS Source It contain all the .h files. And more. Quote Share this post Link to post Share on other sites
Tjoppen #5 Posted October 3, 2018 There's a vcs.h with a permissive license floating around somewhere, I think SvOlli knows where. macro.h on the other hand I can't say, but there's not terribly much in there Quote Share this post Link to post Share on other sites
Tjoppen #6 Posted October 3, 2018 It was part of my IRC backlog even: 11:19 < tjoppen> I feel like a new vcs.h with a good license may be in order12:34 < SvOlli> tjoppen: you might want to check the vcs.inc from my releases. Also comes with a lot of nice infos like what bits are used, what the bits in NUSIZx do, etc.12:36 < tjoppen> sounsd nice12:37 < tjoppen> I just keep tabbing back and forth between stella.pdf12:37 < SvOlli> http://xayax.net/2k_is_no_limit/2kisnolimit.7z12:37 < SvOlli> for example, contains vcs.inc You all should drop by in #vcsdev on IRCnet btw Quote Share this post Link to post Share on other sites
Joe Musashi #7 Posted October 3, 2018 For convenience here's the link to the DASM SVN folder that contains macro.h and vcs.h. https://sourceforge.net/p/dasm-dillon/code/HEAD/tree/trunk/machines/atari2600/ I recommend you to look this thread: D.K. VCS Source It contain all the .h files. And more. The D.K. VCS source does not contain the original macro.h anymore. Some of its functions are available in libvcs.asm. libvcs.asm mostly is focused on fast prototyping. Generating a minimal kernel with it can look like this: ; ******************************************************************** ; ; libvcs.asm Demo ; ; Andreas Dietrich 10/3/2018 ; ; ******************************************************************** PROCESSOR 6502 INCLUDE vcs.h INCLUDE libvcs.asm ORG ROMStart ; ******************************************************************** Start: RESET ; initialize RAM and registers ; -------------------------------------------------------------------- VSync: VERTICAL_SYNC ; produce sync signal and set timer ; -------------------------------------------------------------------- VBlank: lda INTIM ; wait for end of vblank area bne VBlank ; -------------------------------------------------------------------- Kernel: sta WSYNC ; wait for next line sta VBLANK ; and turn off vblank (A=0) ldy #192 ; draw colored lines DisplayLoop: sty WSYNC sty COLUBK dey bne DisplayLoop ; -------------------------------------------------------------------- Overscan: OVERSCAN ; overscan on, clear channels, set timer OverscanEnd: lda INTIM ; wait for end of overscan bne OverscanEnd jmp VSync ; ******************************************************************** ROMStart = $F000 ROMSize = $0800 ORG ROMStart + ROMSize - 3*2 NMI: WORD ROMStart Reset: WORD ROMStart IRQ: WORD ROMStart Unfortunately, libvcs is poorly documented. Some day when I find the time, I'll make some tutorials. LibVCSDemo.bin LibVCSDemo.zip Quote Share this post Link to post Share on other sites