Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

8502/Commodore128 Testing Framework for KickAssembler

License

NotificationsYou must be signed in to change notification settings

c128lib/128spec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Gradle way

Edit yourbuild.gradle file and add alibFromGitHub to specify 128spec dependency.Be sure to add also aviceExecutable = 'x128.exe' because retro-assembler plugin default emulator is c64.

retroProject {    viceExecutable='x128.exe'    libFromGitHub"c128lib/128spec","0.7.2"}

Other way

  1. Create a dir for libraries that your KickAssembler projects use.
  2. Get the current version of the 128spec.asm file and put it in this dir along with other libraries.
  3. Import it in your spec files as#import "128spec.asm"
  4. Make sure to pass option-libdir when compiling with KickAssembler.

If you just want to try it out

  1. Get the current version of the 128spec.asm file and put it in the same directory as your spec files.
  2. Import it in your spec files as#import "128spec.asm"

Quick Start

1. Create file example_spec.asm

#import"128spec.asm"sfspec: init_spec()  // TODO:Add assertions here  finish_spec()

Empty Spec

2. Add first failing assertion.

#import"128spec.asm"sfspec: init_spec()  lda #0  assert_a_equal #42  finish_spec()

Empty Spec

3. Make it pass

#import"128spec.asm"sfspec: init_spec()  lda #42  assert_a_equal #42  finish_spec()

Empty Spec

License

The MIT License (MIT)

Copyright (c) 2015 Michał Taszycki

Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.

About

8502/Commodore128 Testing Framework for KickAssembler

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Assembly100.0%

[8]ページ先頭

©2009-2025 Movatter.jp