This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 REM CALCULATES THE DISTANCE | |
11 REM BETWEEN TWO GIVEN | |
12 REM COORDINATES. | |
13 REM | |
14 REM LAT- // LONGTITUTE | |
20 M=53.48:K=2.24 | |
30 N=35.65:L=-139.83 | |
40 R=6372.8:P=3.1452:D=P/180 | |
50 A=SIN((L-K)*D/2):A=A*A | |
60 B=COS(M*D)*COS(N*D):C=SIN((N-M)*D/2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Copys Basic from ROM into RAM. | |
; | |
; Allows one to change Atari Basic, e.g. change ready prompt etc. | |
; | |
; Initial idea: https://goto10.substack.com/p/change-the-atari-basic-ready-prompt | |
; | |
; B.Fritz 10/2022 | |
; --------------------------------------------------------------------------------- | |
; Some addresses to play with: | |
; Ready promt starts at: 48499 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'************************************************************************************************ | |
' Collision detection | |
' | |
' This class checks if a given set of coordinates overlaps with a given area | |
' It retruns 'true' if the areas/ coordinates do overlap and 'false' if they do not | |
' | |
' 01.04.2015 Fixed 'circ_with_circ' | |
' 27.12.2015 Added 'rect_in_rect' | |
' | |
'************************************************************************************************ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Asociated library's (include into yout build- gradle) | |
// jsoup HTML parser library @ https://jsoup.org/ | |
implementation 'org.jsoup:jsoup:1.13.1' | |
Layout: | |
<?xml version="1.0" encoding="utf-8"?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* FragmentCustomDialogYesNo.java | |
* | |
* Created by Berthold Fritz | |
* | |
* This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: | |
* https://creativecommons.org/licenses/by-nc-sa/4.0/ | |
* | |
* Last modified 9/5/18 5:03 PM | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This checks for a string in a file | |
search='sawfish' | |
file='maze.atr' | |
if [ $(strings $file | grep -i $search) ] | |
then | |
echo $search found in file $file | |
else | |
echo $search not found in file $file ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------------------------------------------------------------ | |
* C- Source.c | |
* A standard framework for C- Language command line tools | |
* | |
* | |
* | |
* V0.0 // 30.10.2014 | |
*------------------------------------------------------------------------------------*/ | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Build *.ATR | |
; | |
; This program shows how one can compile 6502 source into | |
; a valid *.ATR image file ( => an bootable disk Image for Atari 8- Bit computers) | |
; using the MADS Assembler. You can use it as a framework for your own projects. | |
; | |
; Why? | |
; | |
; I was asking myself, how one could start *.XEX image files on the real machine. | |
; *.XEX files are Atari DOS 2.x compatible binary files. Since the SIO2USB |